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] [thread-next>] [day] [month] [year] [list]
Message-Id: <897EC629-8E32-436A-B829-AB7D1A291C61@linux.dev>
Date: Fri, 16 Jan 2026 17:14:10 +0800
From: Muchun Song <muchun.song@...ux.dev>
To: Qi Zheng <qi.zheng@...ux.dev>
Cc: hannes@...xchg.org,
 hughd@...gle.com,
 mhocko@...e.com,
 roman.gushchin@...ux.dev,
 shakeel.butt@...ux.dev,
 david@...nel.org,
 lorenzo.stoakes@...cle.com,
 ziy@...dia.com,
 harry.yoo@...cle.com,
 yosry.ahmed@...ux.dev,
 imran.f.khan@...cle.com,
 kamalesh.babulal@...cle.com,
 axelrasmussen@...gle.com,
 yuanchu@...gle.com,
 weixugc@...gle.com,
 chenridong@...weicloud.com,
 mkoutny@...e.com,
 akpm@...ux-foundation.org,
 hamzamahfooz@...ux.microsoft.com,
 apais@...ux.microsoft.com,
 lance.yang@...ux.dev,
 linux-mm@...ck.org,
 linux-kernel@...r.kernel.org,
 cgroups@...r.kernel.org,
 Qi Zheng <zhengqi.arch@...edance.com>,
 Chen Ridong <chenridong@...wei.com>
Subject: Re: [PATCH v3 04/30] mm: vmscan: prepare for the refactoring the
 move_folios_to_lru()



> On Jan 14, 2026, at 19:26, Qi Zheng <qi.zheng@...ux.dev> wrote:
> 
> From: Qi Zheng <zhengqi.arch@...edance.com>
> 
> Once we refactor move_folios_to_lru(), its callers will no longer have to
> hold the lruvec lock; For shrink_inactive_list(), shrink_active_list() and
> evict_folios(), IRQ disabling is only needed for __count_vm_events() and
> __mod_node_page_state().
> 
> To avoid using local_irq_disable() on the PREEMPT_RT kernel, let's make
> all callers of move_folios_to_lru() use IRQ-safed count_vm_events() and
> mod_node_page_state().
> 
> Signed-off-by: Qi Zheng <zhengqi.arch@...edance.com>
> Acked-by: Johannes Weiner <hannes@...xchg.org>
> Acked-by: Shakeel Butt <shakeel.butt@...ux.dev>
> Reviewed-by: Chen Ridong <chenridong@...wei.com>

Acked-by: Muchun Song <muchun.song@...ux.dev>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ