quota: Make global quota locks cacheline aligned
authorJan Kara <jack@suse.cz>
Mon, 26 Jan 2009 14:32:46 +0000 (15:32 +0100)
committerJan Kara <jack@suse.cz>
Thu, 26 Mar 2009 01:18:35 +0000 (02:18 +0100)
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>

No differences found