[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABdmKX3V3HGA4mNQvqHqhcLqyr-A5kJK8v9vmuDybRvV-KsiOg@mail.gmail.com>
Date: Thu, 28 Mar 2024 17:00:06 -0700
From: "T.J. Mercier" <tjmercier@...gle.com>
To: Tvrtko Ursulin <tursulin@...lia.com>
Cc: dri-devel@...ts.freedesktop.org, Tvrtko Ursulin <tursulin@...ulin.net>,
Sumit Semwal <sumit.semwal@...aro.org>, Christian König <christian.koenig@....com>,
linux-media@...r.kernel.org, linaro-mm-sig@...ts.linaro.org,
linux-kernel@...r.kernel.org, kernel-dev@...lia.com
Subject: Re: [PATCH] dma-buf: Do not build debugfs related code when !CONFIG_DEBUG_FS
On Thu, Mar 28, 2024 at 7:53 AM Tvrtko Ursulin <tursulin@...lia.com> wrote:
>
> From: Tvrtko Ursulin <tursulin@...ulin.net>
>
> There is no point in compiling in the list and mutex operations which are
> only used from the dma-buf debugfs code, if debugfs is not compiled in.
>
> Put the code in questions behind some kconfig guards and so save some text
> and maybe even a pointer per object at runtime when not enabled.
>
> Signed-off-by: Tvrtko Ursulin <tursulin@...ulin.net>
Reviewed-by: T.J. Mercier <tjmercier@...gle.com>
Powered by blists - more mailing lists