Re: [PATCH v2] mm/page_isolation: fix a deadlock with printk()

Qian Cai
2019-10-08T09:32:19Z

> On Oct 8, 2019, at 4:15 AM, Petr Mladek <pmladek@suse.com> wrote:
>
> I am curious about CPU2. Does scheduler need to allocate memory?

It happens before with debug objects. It might not 100% necessary but it could easily end up with this way in the current code. Moreover, this is just an example of how things could go wrong as it could happen for pi_lock or any other unknown downstream locks which are not really console related.