summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-02-20 05:01:41 +0300
committerAndy Grover <andy.grover@oracle.com>2010-09-09 05:07:32 +0400
commit7c82eaf00ec7d460932be9314b29997006b799b6 (patch)
treedd1e46ceb37ab4d5b6688d04805240eb9fcb7fbe /include/linux/debugobjects.h
parent35b52c70534cb7193b218ec12efe6bc595312097 (diff)
downloadlinux-7c82eaf00ec7d460932be9314b29997006b799b6.tar.xz
RDS: Rewrite rds_send_drop_to() for clarity
This function has been the source of numerous bugs; it's just too complicated. Simplified to nest spinlocks cleanly within the second loop body, and kick out early if there are no rms to drop. This will be a little slower because conn lock is grabbed for each entry instead of "caching" the lock across rms, but this should be entirely irrelevant to fastpath performance. Signed-off-by: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions