aboutsummaryrefslogtreecommitdiff
path: root/lib/rwsem.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2009-01-26 15:32:46 +0100
committerJan Kara <jack@suse.cz>2009-03-26 02:18:35 +0100
commitc516610cfec5c50f84ff8cc315628548481f4990 (patch)
tree82d1a46721528dfd088a3edcfe5761a4d62fac26 /lib/rwsem.c
parent884d179dff3aa98a73c3ba9dee05fd6050d664f0 (diff)
quota: Make global quota locks cacheline aligned
Andrew Morton has suggested that three global quota locks can end up in the same cacheline which can result in bad cacheline ping-pong on SMP machines. Make locks cacheline aligned so that we avoid this problem (thanks goes to Andrew for the idea). Signed-off-by: Jan Kara <jack@suse.cz> CC: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/rwsem.c')
0 files changed, 0 insertions, 0 deletions