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: <da27231d-e8dc-41f1-b5bd-e32b5eed52f3@redhat.com>
Date: Thu, 9 Oct 2025 21:03:31 +0200
From: David Hildenbrand <david@...hat.com>
To: Sumanth Korikkar <sumanthk@...ux.ibm.com>,
 Andrew Morton <akpm@...ux-foundation.org>, linux-mm <linux-mm@...ck.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
 linux-s390 <linux-s390@...r.kernel.org>,
 Gerald Schaefer <gerald.schaefer@...ux.ibm.com>,
 Heiko Carstens <hca@...ux.ibm.com>, Vasily Gorbik <gor@...ux.ibm.com>,
 Alexander Gordeev <agordeev@...ux.ibm.com>
Subject: Re: [PATCH v2 4/4] mm/memory_hotplug: Remove
 MEM_PREPARE_ONLINE/MEM_FINISH_OFFLINE notifiers

On 09.10.25 15:18, Sumanth Korikkar wrote:
> MEM_PREPARE_ONLINE/MEM_FINISH_OFFLINE memory notifiers were introduced
> to prepare the transition of memory to and from a physically accessible
> state. This enhancement was crucial for implementing the "memmap on memory"
> feature for s390.
> 
> With introduction of dynamic (de)configuration of hotpluggable memory,
> memory can be brought to accessible state before add_memory(). Memory
> can be brought to inaccessible state before remove_memory(). Hence,
> there is no need of MEM_PREPARE_ONLINE/MEM_FINISH_OFFLINE memory
> notifiers anymore.
> 
> This basically reverts commit
> c5f1e2d18909 ("mm/memory_hotplug: introduce MEM_PREPARE_ONLINE/MEM_FINISH_OFFLINE notifiers")
> Additionally, apply minor adjustments to the function parameters of
> move_pfn_range_to_zone() and mhp_supports_memmap_on_memory() to ensure
> compatibility with the latest branch.
> 
> Signed-off-by: Sumanth Korikkar <sumanthk@...ux.ibm.com>
> ---

Acked-by: David Hildenbrand <david@...hat.com>

-- 
Cheers

David / dhildenb


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ