Skip to content

ipc: allocations cleanup

Vasily Averin cgroups linux-fsdevel linux-mm lkml netdev 2 versions – Applied

Status from this message: [merged] ipc-use-kmalloc-for-msg_queue-and-shmid_kernel.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- improved patch description

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2ipc sem: use kvmalloc for sem_undo allocationipc/sem.c+5 -50 repliesApplied
2/2ipc: use kmalloc for msg_queue and shmid_kernelipc/msg.c ipc/shm.c+6 -60 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichal HockoShakeel ButtRoman Gushchin
1/2A-b R-b A-b
2/2A-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] ipc: allocations cleanup

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(-)
Signature · 1 line
1.8.3.1