diff options
author | Kees Cook <keescook@chromium.org> | 2017-07-12 23:34:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-13 01:26:01 +0200 |
commit | f8dbe8d290637ac3f68600e30d092393fe9b40a5 (patch) | |
tree | 20108014c81821082abd938b2c95f4d6a23655e3 /ipc/compat.c | |
parent | include/linux/sem.h: correctly document sem_ctime (diff) | |
download | linux-f8dbe8d290637ac3f68600e30d092393fe9b40a5.tar.xz linux-f8dbe8d290637ac3f68600e30d092393fe9b40a5.zip |
ipc: drop non-RCU allocation
The only users of ipc_alloc() were ipc_rcu_alloc() and the on-heap
sem_io fall-back memory. Better to just open-code these to make things
easier to read.
[manfred@colorfullife.com: Rediff due to inclusion of memset() into ipc_rcu_alloc()]
Link: http://lkml.kernel.org/r/20170525185107.12869-5-manfred@colorfullife.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions