Messages in this thread | | | Date | Wed, 27 Jul 2005 15:37:25 -0400 (EDT) | From | James Morris <> | Subject | Re: [patch 0/15] lsm stacking v0.3: intro |
| |
On Wed, 27 Jul 2005, James Morris wrote:
> Calls to security_get_value() etc. can then be very fast and simple for > the common case, where the security blob is a pointer offset by an index > in a small array. The arbitrarily sized hlist would then be a fallback > with a higher performance hit.
Also, the static slots could be single-use only, so once a module registers for one, it's permanently assigned (even if the module unloads), to avoid locking overhead. Module registration can just be test & set a bitmap.
- James -- James Morris <jmorris@redhat.com>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |