lkml.org 
[lkml]   [2021]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/1] ipc/util.{c,h}: Use binary search for max_idx
Date
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

\
 
 \ /
  Last update: 2021-04-25 09:53    [W:0.041 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site