[PATCH v2 0/2] ipc: allocations cleanup

From: Vasily Averin
Date: Wed Apr 28 2021 - 03:35:13 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 "memcg: enable accounting of ipc resources" patch included to
"memcg accounting from OpenVZ" patch set.

- improved patch description

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(-)