[PATCH 0/2] ipc: allocations cleanup

From: Vasily Averin
Date: Mon Apr 26 2021 - 06:18:12 EST


Some ipc objects use the wrong allocation functions: small objects can use kmalloc(),
and vice versa, potentially large objects can use kmalloc().

I think it's better to handle these patches via cgroups@ to avoid merge conflicts
with my patches that include accounting for ipc objects.

Vasily Averin (2):
ipc sem: use kvmalloc for sem_undo allocation
ipc: use kmalloc for msg_queue and shmid_kernel

ipc/msg.c | 6 +++---
ipc/sem.c | 10 +++++-----
ipc/shm.c | 6 +++---
3 files changed, 11 insertions(+), 11 deletions(-)

--
1.8.3.1