Re: [PATCH 14/22] btrfs: implement btrfs_debug* in terms of helper macro

From: David Sterba
Date: Thu Sep 20 2018 - 09:10:44 EST


On Thu, Sep 20, 2018 at 12:04:36AM +0200, Rasmus Villemoes wrote:
> First, the btrfs_debug macros open-code (one possible definition of)
> DYNAMIC_DEBUG_BRANCH, so they don't benefit from the HAVE_JUMP_LABEL
> optimization.
>
> Second, changes on x86-64 later in this series require that all struct
> _ddebug descriptors in a translation unit use distinct identifiers.
>
> Using the new _dynamic_func_call_no_desc helper macro from
> dynamic_debug.h takes care of both of these.
>
> Cc: linux-btrfs@xxxxxxxxxxxxxxx
> Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>

Acked-by: David Sterba <dsterba@xxxxxxxx>

Per the cover letter, I assume you'll take it through your git tree.