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: NJan Kara <jack@suse.cz>
CC: Andrew Morton <akpm@linux-foundation.org>
Showing
想要评论请 注册 或 登录