[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46593efd-4a97-cdcc-fe22-01a5400d23c9@redhat.com>
Date: Wed, 2 Oct 2019 11:04:44 -0400
From: Nitesh Narayan Lal <nitesh@...hat.com>
To: Dave Hansen <dave.hansen@...el.com>,
Alexander Duyck <alexander.h.duyck@...ux.intel.com>,
David Hildenbrand <david@...hat.com>,
Alexander Duyck <alexander.duyck@...il.com>,
virtio-dev@...ts.oasis-open.org, kvm@...r.kernel.org,
mst@...hat.com, linux-kernel@...r.kernel.org, willy@...radead.org,
mhocko@...nel.org, linux-mm@...ck.org, akpm@...ux-foundation.org,
mgorman@...hsingularity.net, vbabka@...e.cz, osalvador@...e.de
Cc: yang.zhang.wz@...il.com, pagupta@...hat.com,
konrad.wilk@...cle.com, riel@...riel.com, lcapitulino@...hat.com,
wei.w.wang@...el.com, aarcange@...hat.com, pbonzini@...hat.com,
dan.j.williams@...el.com
Subject: Re: [PATCH v11 0/6] mm / virtio: Provide support for unused page
reporting
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
Powered by blists - more mailing lists