[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-security-module
Subject:    Re: [PATCH v5.1] LSM: Multiple concurrent LSMs
From:       Tetsuo Handa <penguin-kernel () I-love ! SAKURA ! ne ! jp>
Date:       2012-10-26 23:24:37
Message-ID: 201210270824.AGH64085.HVFMSOOFJFOLtQ () I-love ! SAKURA ! ne ! jp
[Download RAW message or body]

Casey Schaufler wrote:
> On 10/26/2012 9:27 AM, Tetsuo Handa wrote:
> > This is what I think we can optimize.
> 
> I think that I have worked out a list based scheme
> that will address the performance concerns. I hope to
> have a version ready in the next few days. There is a
> lot of typing involved.

I see.

> > What do you think?
> 
> I am going to hold off on specific comments until I've decided
> on the merits of my list based scheme, which will eliminate the
> composer_ops array.

My concern about using "struct list_head" is that we might need to use _rcu
suffix when traversing the list, for (although unlikely scenario) there may be
some process walking on the list when reset_security_ops() is called.
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic