Re: [PATCH] xfs: Fix build breakage in xfs_iops.c whenCONFIG_FS_POSIX_ACL is not set

From: Linus Torvalds
Date: Tue Jul 26 2011 - 12:13:25 EST


On Tue, Jul 26, 2011 at 2:49 AM, Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> In that case we might as well just throw it in and try it.  In the worst
> case we'll get one expansion per site that takes the address, but no-acl
> builds aren't really something worth optimizing for.

If ACL's are enabled on a system level, but not in XFS, this is more
than a small optimization. It kills the RCU walk entirely if you just
return NULL without setting the cache.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/