On Wed, Jul 7, 2021 at 6:08 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > > Prevent hibernation whenever there are active secret memory users. So now anybody can not only use up all memory resources with these fake mlock regions, they can also force laptops to run out of battery and crash. Again, maybe I'm missing something, but I didn't see any capability checks or anything at all to limit this once it is enabled. Linus