Re: [PATCH 1/3] memblock: define functions to set the usable memory range
From: Frank van der Linden
Date: Thu Jan 13 2022 - 19:22:58 EST
On Fri, Jan 14, 2022 at 12:10:46AM +0000, Frank van der Linden wrote:
> Thanks for discussing this further! I tried the above change, although
> I wrapped it in an if (cap_mem_size != 0), so that a normal kernel
> doesn't get its entire memory marked as reserved.
Just to clarify: I had to do that because the code is slightly different
on 5.15, where I tried it. It wasn't a bug in the proposed patch.
Anyway, will try 5.17-rc tomorrow, I'll let you know, thanks again.
- Frank