[Top] [All Lists]

Re: [PATCH 36/55] xfs: kill __KERNEL__ check for debug code in allocatio

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 36/55] xfs: kill __KERNEL__ check for debug code in allocation code
From: Mark Tinguely <tinguely@xxxxxxx>
Date: Fri, 06 Sep 2013 12:20:31 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1378332359-14737-37-git-send-email-david@xxxxxxxxxxxxx>
References: <1378332359-14737-1-git-send-email-david@xxxxxxxxxxxxx> <1378332359-14737-37-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120122 Thunderbird/9.0
On 09/04/13 17:05, Dave Chinner wrote:
From: Dave Chinner<dchinner@xxxxxxxxxx>

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@xxxxxxxxxx>

user equivalent of the for Linux 3.12 kernel patch 29/50.
Did not change from last post. Looks good.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>