Messages in this thread | | | From | Linus Torvalds <> | Date | Tue, 26 Jul 2011 09:12:25 -0700 | Subject | Re: [PATCH] xfs: Fix build breakage in xfs_iops.c when CONFIG_FS_POSIX_ACL is not set |
| |
On Tue, Jul 26, 2011 at 2:49 AM, Christoph Hellwig <hch@infradead.org> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |