Re: [PATCH 08/12] mm/sparse: move __highest_used_section_nr handling
From: Oscar Salvador (SUSE)
Date: Thu Sep 10 2026 - 04:43:00 EST
On Wed, Sep 09, 2026 at 03:33:01PM +0200, David Hildenbrand (Arm) wrote:
> Let's move it to sparse_init_one_section(). However, to keep early
> boot processing working, we also have to initialize it in
> sparse_sections_init().
>
> Should we use READ_ONCE/WRITE_ONCE with __highest_used_section_nr?
> Probably, something for another day.
What is the worry there?
sparse_init_one_section() calls should run sequentally due to the memhotplug
lock, so there should not be parallel updates there?
--
Oscar Salvador
SUSE Labs