Re: [PATCH] mm: Convert memory block states (MEM_*) macros to enum
Israel Batista <[email protected]> Mon, 27 Oct 2025 23:41:47 +0000 (UTC)
| Newsgroups | org.kernel.vger.linux-debuggers,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On 10/27/25 15:18, Omar Sandoval wrote:
>
> What kernel version is this patch based on? It doesn't apply on mainline
> because it is missing a couple of definitions added in 6.9 by commit
> c5f1e2d18909 ("mm/memory_hotplug: introduce
> MEM_PREPARE_ONLINE/MEM_FINISH_OFFLINE notifiers").
>
Sorry, my bad. I mixed-up my local branches and created the patch from
linux-next rather than Linus's tree. I will create a new patch with the
proper changes.
>> +enum mem_states {
>
> mem_state is very vague. enum memory_block_state might be a more
> appropriate name.
>
Agreed, I will change it on the next version of the patch.