Re: [nacked] mm-use-zonelist_zone-to-get-zone.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 4, 2024 at 3:33 AM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
>
> The quilt patch titled
>      Subject: mm: use zonelist_zone() to get zone
> has been removed from the -mm tree.  Its filename was
>      mm-use-zonelist_zone-to-get-zone.patch
>
> This patch was dropped because it was nacked
>
> ------------------------------------------------------
> From: Wei Yang <richard.weiyang@xxxxxxxxx>
> Subject: mm: use zonelist_zone() to get zone
> Date: Tue, 2 Jul 2024 23:40:06 +0000
>
> Instead of accessing zoneref->zone directly, use zonelist_zone() like
> other places for consistency.
>
> No functional change.
>
> Link: https://lkml.kernel.org/r/20240702234008.19101-1-richard.weiyang@xxxxxxxxx
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>
> Cc: Mike Rapoport (IBM) <rppt@xxxxxxxxxx>
> Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> Cc: Nathan Chancellor <nathan@xxxxxxxxxx>
> Cc: Nicolas Schier <nicolas@xxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>


FWIW, I did not NACK this patch, as it is independent.




> ---
>
>  include/linux/mmzone.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/include/linux/mmzone.h~mm-use-zonelist_zone-to-get-zone
> +++ a/include/linux/mmzone.h
> @@ -1690,7 +1690,7 @@ static inline struct zoneref *first_zone
>                         zone = zonelist_zone(z))
>
>  #define for_next_zone_zonelist_nodemask(zone, z, highidx, nodemask) \
> -       for (zone = z->zone;    \
> +       for (zone = zonelist_zone(z);   \
>                 zone;                                                   \
>                 z = next_zones_zonelist(++z, highidx, nodemask),        \
>                         zone = zonelist_zone(z))
> _
>
> Patches currently in -mm which might be from richard.weiyang@xxxxxxxxx are
>
> kernel-forkc-get-totalram_pages-from-memblock-to-calculate-max_threads.patch
> kernel-forkc-put-set_max_threads-task_struct_whitelist-in-__init-section.patch
> mm-page_alloc-remove-prefetchw-on-freeing-page-to-buddy-system.patch
> modpost-meminit-is-not-in-init-section-when-config_memory_hotplug-set.patch
> mm-page_alloc-put-__free_pages_core-in-__meminit-section.patch
>


-- 
Best Regards
Masahiro Yamada





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux