Re: [PATCH 5.15 000/251] 5.15.47-rc2 review

From: Linus Torvalds
Date: Tue Jun 14 2022 - 15:06:32 EST


On Tue, Jun 14, 2022 at 11:51 AM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Or just make sure that noop_backing_dev_info is fully initialized
> before it's used.

I don't see any real reason why that

err = bdi_init(&noop_backing_dev_info);

couldn't just be done very early. Maybe as the first call in
driver_init(), before the whole devtmpfs_init() etc.

But I might be missing some dependency there.

Linus