# Re: \[PATCH 1/5\] mm: hide laptop\_mode\_wb\_timer entirely behind the BDI API

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2021-08-11 05:22:35 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/08/212067
- Thread: https://ratatoskr.run/linux-block/2021/08/211860/t.md

```text
On Tue, Aug 10, 2021 at 02:56:22PM -0700, Guenter Roeck wrote:
> On Mon, Aug 09, 2021 at 04:17:40PM +0200, Christoph Hellwig wrote:
> > Don't leak the detaіls of the timer into the block layer, instead
> > initialize the timer in bdi_alloc and delete it in bdi_unregister.
> > Note that this means the timer is initialized (but not armed) for
> > non-block queues as well now.
> > 
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
> > ---
> 
> Just in case this hasn't been reported yet.
> This patch results in a widespread build failure. Example:

Sorry.  This was reported before and a fix is already queued up here:

https://git.kernel.dk/cgit/linux-block/commit/?h=for-5.15/block&id=99d26de2f6d79badc80f55b54bd90d4cb9d1ad90

```
