aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorManfred Spraul <[email protected]>2013-07-08 16:01:20 -0700
committerLinus Torvalds <[email protected]>2013-07-09 10:33:28 -0700
commit196aa0132fc7261f34b10ae1bfb44abc1bc69b3c (patch)
tree022d2de428ef8d8c642017adf448790ab803bd96 /lib/mpi/mpi-bit.c
parent9ad66ae65fc8d3e7e3344310fb0aa835910264fe (diff)
ipc/util.c, ipc_rcu_alloc: cacheline align allocation
Enforce that ipc_rcu_alloc returns a cacheline aligned pointer on SMP. Rationale: The SysV sem code tries to move the main spinlock into a seperate cacheline (____cacheline_aligned_in_smp). This works only if ipc_rcu_alloc returns cacheline aligned pointers. vmalloc and kmalloc return cacheline algined pointers, the implementation of ipc_rcu_alloc breaks that. [[email protected]: coding-style fixes] Signed-off-by: Manfred Spraul <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Davidlohr Bueso <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions