mm-sparse-rename-pfn_present-as-pfn_in_present_section.patch removed from -mm tree
The patch titled
Subject: mm/sparse: rename pfn_present() to pfn_in_present_section()
has been removed from the -mm tree. Its filename was
mm-sparse-rename-pfn_present-as-pfn_in_present_section.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Pingfan Liu <[email protected]>
Subject: mm/sparse: rename pfn_present() to pfn_in_present_section()
After introducing mem sub section concept, pfn_present() loses its literal meaning, and will not be necessary a truth on partial populated mem section.
Since all of the callers use it to judge an absent section, it is better to rename pfn_present() as pfn_in_present_section().
---
arch/powerpc/platforms/pseries/hotplug-memory.c | 2 +- drivers/base/node.c | 2 +- include/linux/mmzone.h | 4 ++-- mm/page_ext.c | 2 +- mm/shuffle.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)
arch/powerpc/platforms/pseries/hotplug-memory.c renamed from arch/powerpc/platforms/pseries/hotplug-memory.c~mm-sparse-rename-pfn_present-as-pfn_in_present_section +1 -1
@@ -360,7 +360,7 @@ static bool lmb_is_removable(struct drmefor (i =0 ; i < scns_per_block; i++) { pfn =PFN_DOWN (phys_addr); -if (!pfn_present (pfn)) { +if (!pfn_in_present_section (pfn)) { phys_addr +=MIN_MEMORY_BLOCK_SIZE ;continue ; }
drivers/base/node.c renamed from drivers/base/node.c~mm-sparse-rename-pfn_present-as-pfn_in_present_section +1 -1
@@ -772,7 +772,7 @@ static int register_mem_sect_under_node(* memory block could have several absent sections from start. * skip pfn range from absent section */ -if (!pfn_present (pfn)) { +if (!pfn_in_present_section (pfn)) { pfn =round_down (pfn +PAGES_PER_SECTION ,PAGES_PER_SECTION ) -1 ;continue ;
include/linux/mmzone.h renamed from include/linux/mmzone.h~mm-sparse-rename-pfn_present-as-pfn_in_present_section +2 -2
@@ -1374,7 +1374,7 @@ static inline int pfn_valid(unsigned lon }#endif -static inline int pfn_present (unsigned long pfn) +static inline int pfn_in_present_section (unsigned long pfn) {if (pfn_to_section_nr (pfn) >=NR_MEM_SECTIONS )return 0 ;
@@ -1411,7 +1411,7 @@ void sparse_init(void);#else #define sparse_init () do {} while (0)#define sparse_index_init (_sec, _nid) do {} while (0) -#define pfn_present pfn_valid +#define pfn_in_present_section pfn_valid#define subsection_map_init (_pfn, _nr_pages) do {} while (0)#endif /* CONFIG_SPARSEMEM */
mm/page_ext.c renamed from mm/page_ext.c~mm-sparse-rename-pfn_present-as-pfn_in_present_section +1 -1
@@ -304,7 +304,7 @@ static int __meminit online_page_ext(uns }for (pfn = start; !fail && pfn < end; pfn +=PAGES_PER_SECTION ) { -if (!pfn_present (pfn)) +if (!pfn_in_present_section (pfn))continue ; fail =init_section_page_ext (pfn, nid); }
mm/shuffle.c renamed from mm/shuffle.c~mm-sparse-rename-pfn_present-as-pfn_in_present_section +1 -1
@@ -72,7 +72,7 @@ static struct page * __meminit shuffle_vreturn NULL ;/* ...is the pfn in a present section or a hole? */ -if (!pfn_present (pfn)) +if (!pfn_in_present_section (pfn))return NULL ;/* ...is the page free and currently on a free_area list? */
_
Patches currently in -mm which might be from [email protected] are