mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ipc/util.c: Cleanup and improve sysvipc_find_ipc(), V2
@ 2021-09-03  5:20 Manfred Spraul
  2021-09-03  5:20 ` ipc: replace costly bailout check in sysvipc_find_ipc() Manfred Spraul
  2021-09-03  5:20 ` [PATCH 2/2] ipc/util.c: Cleanup and improve sysvipc_find_ipc(), V2 Manfred Spraul
  0 siblings, 2 replies; 4+ messages in thread
From: Manfred Spraul @ 2021-09-03  5:20 UTC (permalink / raw)
  To: LKML, Davidlohr Bueso, Waiman Long, Rafael Aquini
  Cc: Andrew Morton, 1vier1, Manfred Spraul

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
	
	Acked-by: Manfred Spraul <manfred@colorfullife.com>
	https://lore.kernel.org/lkml/42b60dd8-8393-5e0f-e576-da5303f29fe7@colorfullife.com/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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-03 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03  5:20 [PATCH 0/2] ipc/util.c: Cleanup and improve sysvipc_find_ipc(), V2 Manfred Spraul
2021-09-03  5:20 ` ipc: replace costly bailout check in sysvipc_find_ipc() Manfred Spraul
2021-09-03  5:20 ` [PATCH 2/2] ipc/util.c: Cleanup and improve sysvipc_find_ipc(), V2 Manfred Spraul
2021-09-03 18:02   ` Waiman Long

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®