Re: [PATCH] fs/namei.c: micro-optimize acl_permission_check

From: Rasmus Villemoes
Date: Mon Dec 09 2019 - 09:54:10 EST


ping

On 13/11/2019 22.45, Rasmus Villemoes wrote:
> System-installed files are usually 0755 or 0644, so in most cases, we
> can avoid the binary search and the cost of pulling the cred->groups
> array and in_group_p() .text into the cpu cache.