[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200113073614.jo2txcmazwlesl7b@box.shutemov.name>
Date: Mon, 13 Jan 2020 10:36:14 +0300
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Wei Yang <richardw.yang@...ux.intel.com>
Cc: hannes@...xchg.org, mhocko@...nel.org, vdavydov.dev@...il.com,
akpm@...ux-foundation.org, cgroups@...r.kernel.org,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
kirill.shutemov@...ux.intel.com, yang.shi@...ux.alibaba.com,
alexander.duyck@...il.com, rientjes@...gle.com
Subject: Re: [Patch v2] mm: thp: grab the lock before manipulation defer list
On Mon, Jan 13, 2020 at 08:44:57AM +0800, Wei Yang wrote:
> >> It is possible two page in the same pgdate or memcg grab page lock
> >> respectively and then access the same defer queue concurrently.
>
> If my understanding is correct, you agree with my statement?
Which one? If the one above then no. list_empty only accesses list_head
for the struct page, not the queue.
--
Kirill A. Shutemov
Powered by blists - more mailing lists