[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210903052020.3265-1-manfred@colorfullife.com>
Date: Fri, 3 Sep 2021 07:20:18 +0200
From: Manfred Spraul <manfred@...orfullife.com>
To: LKML <linux-kernel@...r.kernel.org>,
Davidlohr Bueso <dbueso@...e.de>,
Waiman Long <llong@...hat.com>,
Rafael Aquini <aquini@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, 1vier1@....de,
Manfred Spraul <manfred@...orfullife.com>
Subject: [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
Acked-by: Manfred Spraul <manfred@...orfullife.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
Powered by blists - more mailing lists