Re: [BK PATCH] LSM changes for 2.5.27

Alan Cox (alan@lxorguk.ukuu.org.uk)
23 Jul 2002 14:16:34 +0100


On Tue, 2002-07-23 at 09:16, Roman Zippel wrote:
> Hi,
>
> On Mon, 22 Jul 2002, Greg KH wrote:
>
> > + error = security_ops->inode_setattr(dentry, attr);
>
> Am I the only one who'd like to see this as an inline function?
> 1. It can be optimized away.
> 2. It's easier to read.

You are not the only one. At the kernel summit there were discussions
about both wrapping the few performance impacting ones in ifdefs, and/or
using dynamic patching.

-
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/