From: Manfred Spraul Date: Wed, 26 May 2010 21:43:42 +0000 (-0700) Subject: ipc/sem.c: cacheline align the ipc spinlock for semaphores X-Git-Tag: v2.6.35-rc1~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31a7c4746e9925512afab30557dd445d677cc802;p=pandora-kernel.git ipc/sem.c: cacheline align the ipc spinlock for semaphores Cacheline align the spinlock for sysv semaphores. Without the patch, the spinlock and sem_otime [written by every semop that modified the array] and sem_base [read in the hot path of try_atomic_semop()] can be in the same cacheline. Signed-off-by: Manfred Spraul Cc: Chris Mason Cc: Zach Brown Cc: Jens Axboe Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed