[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200110235020.5cfrudvsenzfotmi@box>
Date: Sat, 11 Jan 2020 02:50:20 +0300
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Wei Yang <richardw.yang@...ux.intel.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, kirill.shutemov@...ux.intel.com
Subject: Re: [PATCH] mm/huge_memory.c: reduce critical section protected by
split_queue_lock
On Fri, Jan 10, 2020 at 10:55:16AM +0800, Wei Yang wrote:
> split_queue_lock protects data in struct deferred_split. We can release
> the lock after delete the page from deferred_split_queue.
>
> This patch moves the THP accounting out of the lock protection, which is
> introduced in commit 65c453778aea ("mm, rmap: account shmem thp pages").
>
> Signed-off-by: Wei Yang <richardw.yang@...ux.intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
--
Kirill A. Shutemov
Powered by blists - more mailing lists