Commit c516610c authored by Jan Kara's avatar Jan Kara
Browse files

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: default avatarJan Kara <jack@suse.cz>
CC: Andrew Morton <akpm@linux-foundation.org>
parent 884d179d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment