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

From: Qian Cai
Date: Tue Oct 08 2019 - 05:32:19 EST

> On Oct 8, 2019, at 4:15 AM, Petr Mladek <pmladek@xxxxxxxx> 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.