lkml.org 
[lkml]   [2021]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Memory hotplug locking cleanup
Date
Hi all,

I decided to go one step further and completely rip out zone's span_seqlock
and all related functions, since we should be ok by using {get,put}_online_mems()
on the reader side given that memory-hotplug is the only user fiddling with
those values.

Patch#1 and patch#2 could probably be squashed but I decided to keep them
separated so the intention becomes more clear.
Patch#3 only removes declarations that seem never be used.

Given that this is a much bigger surgery, I decided to drop any Acked-by/
Reviewed-by.

Oscar Salvador (3):
mm,page_alloc: Use {get,put}_online_mems() to get stable zone's values
mm,memory_hotplug: Drop unneeded locking
mm,memory_hotplug: Remove unneeded declarations

include/linux/memory_hotplug.h | 38 --------------------------------------
include/linux/mmzone.h | 23 +++++------------------
mm/memory_hotplug.c | 16 +---------------
mm/page_alloc.c | 15 ++++++---------
4 files changed, 12 insertions(+), 80 deletions(-)

--
2.16.3

\
 
 \ /
  Last update: 2021-06-02 17:20    [W:0.429 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site