Messages in this thread | | | From | Vasily Averin <> | Subject | [PATCH v2 0/2] ipc: allocations cleanup | Date | Wed, 28 Apr 2021 10:35:05 +0300 |
| |
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.
v2: - 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(-)
-- 1.8.3.1
| |