[PATCH 29/49] xfs: kill __KERNEL__ check for debug code in allocation code
Mark Tinguely
tinguely at sgi.com
Fri Jul 26 10:07:11 CDT 2013
On 07/19/13 01:25, Dave Chinner wrote:
> From: Dave Chinner<dchinner at redhat.com>
>
> Userspace running debug builds is relatively rare, so there's need
> to special case the allocation algorithm code coverage debug switch.
> As it is, userspace defines random numbers to 0, so invert the
> logic of the switch so it is effectively a no-op in userspace.
> This kills another couple of __KERNEL__ users.
>
> Signed-off-by: Dave Chinner<dchinner at redhat.com>
> ---
No functional change for the kernel. skipping the first allocation
algorithm is still 50% for debug kernels.
Change is for user space.
Looks good.
Reviewed-by: Mark Tinguely <tinguely at sgi.com>
More information about the xfs
mailing list