lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ