Re: possible selrecord optimization ?

From: Luigi Rizzo <rizzo_at_iet.unipi.it>
Date: Thu, 23 Jan 2014 23:57:23 +0100
On Thu, Jan 23, 2014 at 02:52:41PM -0500, John Baldwin wrote:
> On Wednesday, January 22, 2014 7:39:48 pm Luigi Rizzo wrote:
...
> > 2. am i correct that we do need to protect concurrent invocations
> >    of selrecord() on the same selinfo because mtx_pool_find()
> >    return the same mutex for a given struct selinfo ?
> 
> If you mean 'do not need', yes.  mtx_pool_find() does a hash on the address,

yes, i meant "do not need".

thanks
luigi
Received on Thu Jan 23 2014 - 21:54:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC