Skip to content

ipc/util.c: Cleanup and improve sysvipc_find_ipc(), V2

Manfred Spraul lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 2 repliesIn review

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2ipc/util.c: Cleanup and improve sysvipc_find_ipc(), V2ipc/util.c+32 -211 reply

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchManfred SpraulDavidlohr BuesoWaiman Long
SeriesA-b A-b
2/2A-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 v1 thread

Cover letter [PATCH 0/2] ipc/util.c: Cleanup and improve sysvipc_find_ipc(), V2

Update of the sysvipc_find_ipc() changes:

patch 01:
Unmodified patch from Rafael Aquini, already in mmotm.
https://www.ozlabs.org/~akpm/mmotm/broken-out/ipc-replace-costly-bailout-check-in-sysvipc_find_ipc.patch

https://lore.kernel.org/lkml/[email protected]/T/#m230673c8ef7261745e80ba458b9712bf1fad2251

patch 02:
Performance improvement and further cleanup.

Especially, patch 02 tries to make sysvipc_find_ipc() more readable.

E.g.: There was a "+1" at the end of the function. My first idea: "+1", as in "move to next". No, the "+1" was "convert from index to pos".

@Andrew: Patch 01 is already in mmotm. Could you add patch 02 to your tree and forward it as needed?

Thanks,
Manfred