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>] [day] [month] [year] [list]
Message-ID: <20260115153413416ZHFvu9Uuv-HbyU9UKguyW@zte.com.cn>
Date: Thu, 15 Jan 2026 15:34:13 +0800 (CST)
From: <yang.yang29@....com.cn>
To: <xu.xin16@....com.cn>
Cc: <akpm@...ux-foundation.org>, <david@...nel.org>,
        <chengming.zhou@...ux.dev>, <hughd@...gle.com>,
        <wang.yaxin@....com.cn>, <linux-mm@...ck.org>,
        <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] ksm: Optimize rmap_walk_ksm by passing a suitable address  range

> + pgoff_start = rmap_item->address >> PAGE_SHIFT;
> + pgoff_end = pgoff_start + folio_nr_pages(folio) - 1;
> +
> anon_vma_interval_tree_foreach(vmac, &anon_vma->rb_root,
> - 0, ULONG_MAX) {
> + pgoff_start, pgoff_end) {

Good job.
I see there is another similar situations in collect_procs_ksm().
We can simulate memory errors by calling the memory_failure().

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ