[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210425075208.11777-1-manfred@colorfullife.com>
Date: Sun, 25 Apr 2021 09:52:07 +0200
From: Manfred Spraul <manfred@...orfullife.com>
To: LKML <linux-kernel@...r.kernel.org>,
Davidlohr Bueso <dave@...olabs.net>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: 1vier1@....de, Manfred Spraul <manfred@...orfullife.com>
Subject: [PATCH 0/1] ipc/util.{c,h}: Use binary search for max_idx
2nd version of the patch:
@Andrew: Could you add the patch to your mm tree, as candidate for
linux-next?
Note:
I have tried to remove the ids->max_idx cache entirely. Unfortunately,
this causes a significant slow-down of semstat(,,IPC_STAT):
* no object allocated, no ipcmni_extended: +50%
* no object allocated, with ipcmni_extended: +80%
* 30 objects allocated, with large gaps, no ipcmni_extended:
+350%
Thus I haven't removed ids->max_id.
--
Manfred
Powered by blists - more mailing lists