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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALf+9YdnpxRfLKqH4_u5XVLc_4d1H1f0b2gRx4-oAFL5NhQwvA@mail.gmail.com>
Date: Wed, 22 Jan 2025 05:09:15 -0600
From: Vinay Banakar <vny@...gle.com>
To: Bharata B Rao <bharata@....com>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org, 
	akpm@...ux-foundation.org, willy@...radead.org, mgorman@...e.de, 
	Wei Xu <weixugc@...gle.com>, Greg Thelen <gthelen@...gle.com>
Subject: Re: [PATCH] mm: Optimize TLB flushes during page reclaim

On Wed, Jan 22, 2025 at 2:59 AM Bharata B Rao <bharata@....com> wrote:
> and one flush request is issued for the entire list. Where is the PMD
> level (512) batching done? Is that implicit elsewhere in the flow?

Yes, shrink_folio_list() operates on one PMD at a time, so
pageout_list will contain at most 512 pages during each call. Please
refer to madvise_cold_or_pageout_pte_range() in mm/madvise.c for more
details.

Thanks!
Vinay

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ