Re: [PATCH v11 0/6] mm / virtio: Provide support for unused page reporting
From: Nitesh Narayan Lal
Date: Wed Oct 02 2019 - 11:05:09 EST
On 10/1/19 4:51 PM, Dave Hansen wrote:
> On 10/1/19 1:49 PM, Alexander Duyck wrote:
>> So it looks like v12 still has issues. I'm pretty sure you should be using
>> spin_lock_irq(), not spin_lock() in page_reporting.c to avoid the
>> possibility of an IRQ firing and causing lock recursion on the zone lock.
> Lockdep should make all of this a lot easier to find. Is it being used?
I do have it in the function which returns the pages to the buddy but I missed
it in the function that isolates the pages.
I will correct this.
--
Thanks
Nitesh