Re: LSM stacker update

From: Stephen Smalley (sds@private)
Date: Wed Feb 02 2005 - 05:46:31 PST


On Tue, 2005-02-01 at 09:33, Stephen Smalley wrote:
> Module removal has plenty of other
> safety issues already, doesn't it?

On this topic, how valuable do you consider your current logic in the
stacker module for incrementing the use count on each stacked security
module while calling it?  One of the stated purposes of RCU (per
Documentation/RCU/rcu.txt) is to allow RCU readers to avoid not only
lock acquisition but also other expensive operations like atomic
instructions.  Having to perform an atomic_inc and atomic_dec_and_test
for each stacked security module seems unfortunate, especially for an
uncommon situation like module removal.

-- 
Stephen Smalley <sds@private>
National Security Agency



This archive was generated by hypermail 2.1.3 : Wed Feb 02 2005 - 06:14:42 PST