<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in arch_numa.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>67f8bc848ee31831336bd478e57d2f993551902e - Merge drm/drm-fixes into drm-misc-fixes</title>
        <link>http://kernelsources.org:8080/source/history/linux/mm/arch_numa.c#67f8bc848ee31831336bd478e57d2f993551902e</link>
        <description>Merge drm/drm-fixes into drm-misc-fixesLet&apos;s start the 7.3 drm-misc-fixes cycle.Signed-off-by: Maxime Ripard &lt;mripard@kernel.org&gt;

            List of files:
            /linux/mm/arch_numa.c</description>
        <pubDate>Tue, 01 Sep 2026 09:38:51 +0200</pubDate>
        <dc:creator>Maxime Ripard &lt;mripard@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>18fbf5151d2c0bfe433c7428eef03cabf5fdb2fa - Merge tag &apos;mm-stable-2026-08-26-15-22&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm</title>
        <link>http://kernelsources.org:8080/source/history/linux/mm/arch_numa.c#18fbf5151d2c0bfe433c7428eef03cabf5fdb2fa</link>
        <description>Merge tag &apos;mm-stable-2026-08-26-15-22&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mmPull more MM updates from Andrew Morton: - &quot;mm/rmap: index MAP_PRIVATE file-backed folios by anonymous pgoff&quot;   (Lorenzo Stoakes)   Index MAP_PRIVATE file-backed folios by their anonymous page offset   to resolve confusion around reverse mapping for zeroed and CoW&apos;d   file-backed memory.   Use this new VMA anonymous page offset tracking to eliminate index   conflicts and lay the foundation for scalable CoW performance   improvements. - &quot;promote mapped executable folios after first usage for MGLRU&quot;   (Baolin Wang)   Make MGLRU&apos;s protection of mapped executable file folios more   reliable. Follow the classical LRU&apos;s logic, promoting mapped   executable file folios after their first usage to give executable   code a better chance to stay in memory and improve workload   performance. - &quot;mm: vmscan: fix node reclaim ignoring swappiness parameter&quot; (Ridong   Chen)   Fix per-node proactive reclaim interface&apos;s ignoring the swappiness   parameter when CONFIG_MEMCG is disabled by consolidating   sc_swappiness() into a single function that checks   proactive_swappiness regardless of kernel configuration. - &quot;mm/vmscan: reduce lru_lock contention via vmstat-derived   scan-balance cost&quot; (Usama Arif)   Reduce lru_lock contention in the reclaim path by deriving   scan-balance costs from vmstat counters rather than lock-acquired   producer updates.   Read and decay these cost signals on the reclaim side under a   dedicated per-lruvec lock, reducing total LRU lock wait time by over   60% without impacting scan throughput. - &quot;zram: fix zram issues reported by sashiko&quot; (Sergey Senozhatsky)   Fix two low-risk zram bugs which Sashiko spotted in drive-by review. - &quot;Honor XA_FLAGS_ACCOUNT in xas_split_alloc() and charge to folio&apos;s   memcg&quot; (Zi Yan)   Fix xas_split_alloc() by enabling target folio memcg charging during   splits and adding the missing __GFP_ACCOUNT flag for proper XArray   node memory accounting. - &quot;selftests/mm: use pattern matching in .gitignore&quot; (Pratyush Mallick)   Replace hardcoded binary names in selftests/mm/.gitignore with a   generic pattern-matching rule to automatically ignore generated test   files and avoid manual updates when adding new tests. - &quot;mm/page_ext: remove pgdat_page_ext_init()&quot; (Sang-Heon Jeon)   Make the incompatibility between FLATMEM and NUMA explicit in   mm/Kconfig and remove the unused pgdat_page_ext_init() function. - &quot;zram: fix zstd error paths and add parameter validation&quot; (Haoqin   Huang)   Clean up zram compression backends by removing redundant error   cleanup, adding parameter and dictionary validation, auto-prefixing   algorithm error logs, and resetting parameters prior to   reinitialization. - &quot;zram: fix stale scan bounds after reinitialization&quot; (Longlong Xia)   Prevent out-of-bounds slot accesses during concurrent zram resets by   moving table scan bound calculations under dev_lock in   writeback_store() and read_block_state(). - &quot;add anon mTHP collapse test cases&quot; (Baolin Wang)   Extend selftests helper functions to support arbitrary page orders   and add new test cases and options for mTHP collapse in khugepaged. - &quot;selftests/mm: Handle unsupported and transient test conditions&quot;   (Muhammad Usama Anjum)   Update MM selftests to report a SKIP status instead of a failure when   required kernel or filesystem features are unsupported, while adding   retry logic for transient page migration errors. - &quot;mm/zswap: Fixes and improves the zswap shrink&quot; (Hao Jia)   Fix the missing zswap global shrinker when CONFIG_MEMCG is disabled   and extend shrink_memcg() to support batch writeback for improved   writeback efficiency. - &quot;alloc_tag: introduce IOCTL-based filtering for MAP&quot; (Suren   Baghdasaryan)   Introduce an IOCTL-based binary interface for memory allocation   profiling that enables kernel-side filtering before per-CPU counter   aggregation.   This eliminates the text-parsing overhead of /proc/allocinfo and   provides up to a 20x speedup by transferring only filtered allocation   data to userspace. - &quot;better block swap batching and a different take on swap_ops v5&quot;   (Christoph Hellwig)   Refactor block swap I/O to use swap_iocb for batching instead of   single-bio requests and rebase the swap_ops interface, achieving   faster swap throughput during kernel builds. - &quot;mm: kmemleak: reduce transient false positives by confirming leaks&quot;   (Catalin Marinas)   Reduce false-positive kmemleak reports by combining two kmemleak   enhancements that add a second confirmation scan and a configurable   minimum unreferenced scan count module parameter. - &quot;mm: kmemleak: default min_unref_scans to 2 for verbose kernels&quot;   (Breno Leitao)   Auto-scanning kernels can generate false-positive memory leak reports   on single scans, so this patch defaults min_unref_scans to 2 when   CONFIG_DEBUG_KMEMLEAK_VERBOSE is enabled to require a second   confirming scan. - &quot;swap_ops updates&quot; (Christoph Hellwig)   Batching I/O for synchronous swap devices causes performance   regressions and filesystem-based swap suffers from double-indirection   overhead. This series resolves both issues by reintroducing per-folio   writes for synchronous swap and allowing filesystems to directly   export their own swap_ops. - &quot;mm/khugepaged: several cleanups&quot; (Nico Pache)   khugepaged accumulated redundant state-checking patterns and outdated   comments following mTHP integration. Introduce dedicated helpers for   PTE validation and event counting while refreshing the internal   documentation. - &quot;maple_tree: lock checking and clean ups&quot; (Liam Howlett)   Syzbot reports incorrectly blame memory management exit paths for   locking bugs, maple tree erase operations risk allocation failures   without gfp flags and internal documentation lacks clarity.   Improve lock error detection, update docs, fix race and allocation   edge cases and optimize erase allocations using a fallback to   GFP_KERNEL | GFP_NOFAIL.* tag &apos;mm-stable-2026-08-26-15-22&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (172 commits)  selftests/proc: make proc-maps-race work with READ_IMPLIES_EXEC  memcg: move LRU size accounting on reparenting instead of copying it  mm/vmscan: fix comment logic in balance_pgdat  maple_tree: add helper mas_make_walkable()  maple_tree: avoid extra gap calculation  maple_tree: fix argument name in header  maple_tree: change two GFP flags in tests  maple_tree: document erase and allocations better  maple_tree: avoid mas_erase() and mtree_erase() failures  maple_tree: document that erase may use GFP_KERNEL for allocations  maple_tree: catch race in mas_alloc_cyclic()  maple_tree: add bulk parent set helper  maple_tree: micro optimisation of mas_wr_store_type()  maple_tree: optimise mas_wr_node_store() when not in rcu mode  maple_tree: use prefetched value in mas_wr_store_type()  maple_tree: clarify comments on mas_nomem()  maple_tree: drop MAPLE_ALLOC_SLOTS  maple_tree: drop dead code from mas_extend_spanning_null()  maple_tree: documentation fix  maple_tree: add write lock checking with lockdep sequence numbers  ...

            List of files:
            /linux/mm/arch_numa.c</description>
        <pubDate>Thu, 27 Aug 2026 18:17:06 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>f2b1cb39d5ccab090d8353788f186f7e7a1fffd4 - arch_numa: avoid false positive fortify warning in setup_node_to_cpumask_map()</title>
        <link>http://kernelsources.org:8080/source/history/linux/mm/arch_numa.c#f2b1cb39d5ccab090d8353788f186f7e7a1fffd4</link>
        <description>arch_numa: avoid false positive fortify warning in setup_node_to_cpumask_map()When building ARCH=riscv using clang with CONFIG_FORTIFY_SOURCE andCONFIG_UBSAN_BOUNDS enabled, CONFIG_NR_CPUS &gt; 64, and the default value of2 for CONFIG_NODES_SHIFT, there is a compiletime warning from the fortifyroutines.  In file included from mm/arch_numa.c:11:  In file included from include/linux/acpi.h:14:  In file included from include/linux/resource_ext.h:11:  In file included from include/linux/slab.h:17:  In file included from include/linux/gfp.h:7:  In file included from include/linux/mmzone.h:8:  In file included from include/linux/spinlock.h:60:  In file included from include/linux/interrupt_rc.h:17:  In file included from include/linux/smp.h:13:  In file included from include/linux/cpumask.h:11:  In file included from include/linux/bitmap.h:13:  In file included from include/linux/string.h:383:  include/linux/fortify-string.h:430:4: warning: call to &apos;__write_overflow_field&apos; declared with &apos;warning&apos; attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Wattribue-warning]    430 |                         __write_overflow_field(p_size_field, size);        |                         ^  include/linux/fortify-string.h:430:4: note: called by function &apos;fortify_memset_chk(unsigned long, unsigned long, unsigned long)&apos;  include/linux/bitmap.h:248:3: note: inlined by function &apos;setup_node_to_cpumask_map&apos;    248 |                 memset(dst, 0, len);        |                 ^  include/linux/fortify-string.h:462:25: note: expanded from macro &apos;memset&apos;    462 | #define memset(p, c, s) __fortify_memset_chk(p, c, s,                   \        |                         ^  include/linux/fortify-string.h:453:2: note: expanded from macro &apos;__fortify_memset_chk&apos;    453 |         fortify_memset_chk(__fortify_size, p_size, p_size_field),       \        |         ^  include/linux/fortify-string.h:430:4: note: use &apos;-gline-directives-only&apos; (implied by &apos;-g1&apos;) or higher for more accurate inlining chain locations    430 |                         __write_overflow_field(p_size_field, size);        |                         ^  1 warning generated.In this configuration, MAX_NUMNODES is 4.  clang unrolls the for loop insetup_node_to_cpumask_map() past this, which triggers the fortify checkwhen accessing node_to_cpumask_map on the theoretical fifth loop iterationbecause it would be an out of bounds write.Make it clear to clang that nr_node_ids is bounded by MAX_NUMNODES due tothe logic in setup_nr_node_ids() by early returning insetup_node_to_cpumask_map() should that condition be violated.Link: https://lore.kernel.org/20260813-arch_numa-avoid-fortify-warning-v2-1-093ad97a78df@kernel.orgSigned-off-by: Nathan Chancellor &lt;nathan@kernel.org&gt;Closes: https://github.com/ClangBuiltLinux/linux/issues/2174Reviewed-by: Mike Rapoport (Microsoft) &lt;rppt@kernel.org&gt;Cc: Kees Cook &lt;kees@kernel.org&gt;Cc: Bill Wendling &lt;morbo@google.com&gt;Cc: Justin Stitt &lt;justinstitt@google.com&gt;Cc: Nathan Chancellor &lt;nathan@kernel.org&gt;Cc: Nick Desaulniers &lt;ndesaulniers@google.com&gt;Cc: &lt;stable@vger.kernel.org&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux/mm/arch_numa.c</description>
        <pubDate>Fri, 14 Aug 2026 05:12:55 +0200</pubDate>
        <dc:creator>Nathan Chancellor &lt;nathan@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>3774c56cc38b9ddcdf46dd717d4de954b40d8986 - drivers/base, mm: move arch_numa.c to mm/</title>
        <link>http://kernelsources.org:8080/source/history/linux/mm/arch_numa.c#3774c56cc38b9ddcdf46dd717d4de954b40d8986</link>
        <description>drivers/base, mm: move arch_numa.c to mm/arch_numa.c implements boot time discovery and initialization of NUMAtopology on architectures that select GENERIC_ARCH_NUMA (currently arm64and riscv).Since this is step in the initialization of the memory managementsubsystem, it&apos;s logical to have arch_numa.c in mm/ alongside numa.c,numa_memblks.c and numa_emulation.c.Move arch_numa.c to mm/ and add its F: entry to &quot;MEMBLOCK AND MEMORYMANAGEMENT INITIALIZATION&quot; in MAINTAINERS.Link: https://lore.kernel.org/20260806-arch-numa-v1-1-968ec128121e@kernel.orgSigned-off-by: Mike Rapoport (Microsoft) &lt;rppt@kernel.org&gt;Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Acked-by: Lorenzo Stoakes (ARM) &lt;ljs@kernel.org&gt;Acked-by: Vlastimil Babka (SUSE) &lt;vbabka@kernel.org&gt;Acked-by: David Hildenbrand (Arm) &lt;david@kernel.org&gt;Acked-by: Danilo Krummrich &lt;dakr@kernel.org&gt;Cc: Albert Ou &lt;aou@eecs.berkeley.edu&gt;Cc: Alexandre Ghiti &lt;alex@ghiti.fr&gt;Cc: Catalin Marinas &lt;catalin.marinas@arm.com&gt;Cc: Liam R. Howlett &lt;liam@infradead.org&gt;Cc: Michal Hocko &lt;mhocko@suse.com&gt;Cc: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;Cc: &quot;Rafael J. Wysocki&quot; &lt;rafael@kernel.org&gt;Cc: Suren Baghdasaryan &lt;surenb@google.com&gt;Cc: Will Deacon &lt;will@kernel.org&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux/mm/arch_numa.c</description>
        <pubDate>Thu, 06 Aug 2026 08:58:38 +0200</pubDate>
        <dc:creator>Mike Rapoport (Microsoft) &lt;rppt@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
