mm: Remove ancient/ambiguous comment
Subsystems (3)
PATCH 1/1 mm: Remove ancient/ambiguous comment
Currently pg_data_t is just a struct which describes a NUMA node memory layout. Let's keep the comment simple and remove ambiguity.
--- include/linux/mmzone.h | 4 ---- 1 file changed, 4 deletions(-)
include/linux/mmzone.h +0 -4
@@ -587,10 +587,6 @@ extern struct page *mem_map;#endif /* -* The pg_data_t structure is used in machines with CONFIG_DISCONTIGMEM -* (mostly NUMA machines?) to denote a higher-level memory zone than the -* zone denotes. -* * On NUMA machines, each NUMA node would have a pg_data_t to describe * it's memory layout. *
Signature · 7 lines
2.7.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 2 lines · Nikolay Borisov
Currently
pg_data_tis just a struct which describes a NUMA node memory layout. Let's keep the comment simple and remove ambiguity.
Yes this comment just doesn't make any sense. I would even enhance the comment and note that on UMA machines there is only a single pg_data_t that describes the whole memory.
Quoted 2 lines
Signed-off-by Nikolay Borisov <[email protected]>
Quoted 21 lines
--- include/linux/mmzone.h | 4 ---- 1 file changed, 4 deletions(-)include/linux/mmzone.h +0
-4@@ -587,10 +587,6 @@ extern struct page *mem_map;#endif /* -* The pg_data_t structure is used in machines with CONFIG_DISCONTIGMEM -* (mostly NUMA machines?) to denote a higher-level memory zone than the -* zone denotes. -* * On NUMA machines, each NUMA node would have a pg_data_t to describe * it's memory layout. * Signature · 1 line
2.7.4
Signature · 8 lines
Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH v2 1/1 mm: Remove ancient/ambiguous comment
--- include/linux/mmzone.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
include/linux/mmzone.h +2 -5
@@ -587,12 +587,9 @@ extern struct page *mem_map;#endif /* -* The pg_data_t structure is used in machines with CONFIG_DISCONTIGMEM -* (mostly NUMA machines?) to denote a higher-level memory zone than the -* zone denotes. -* * On NUMA machines, each NUMA node would have a pg_data_t to describe -* it's memory layout. +* it's memory layout. On UMA machines there is a single pglist_data which +* describes the whole memory. * * Memory statistics and page replacement data structures are maintained on a * per-zone basis.
Signature · 7 lines
2.7.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
I guess you want to add the changelog from v1
Quoted 1 line · Nikolay Borisov
Signed-off-by Nikolay Borisov <[email protected]>
Other than that
Thanks!
Quoted 25 lines
--- include/linux/mmzone.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)include/linux/mmzone.h +2
-5@@ -587,12 +587,9 @@ extern struct page *mem_map;#endif /* -* The pg_data_t structure is used in machines with CONFIG_DISCONTIGMEM -* (mostly NUMA machines?) to denote a higher-level memory zone than the -* zone denotes. -* * On NUMA machines, each NUMA node would have a pg_data_t to describe -* it's memory layout. +* it's memory layout. On UMA machines there is a single pglist_data which +* describes the whole memory. * * Memory statistics and page replacement data structures are maintained on a * per-zone basis. Signature · 1 line
2.7.4
Signature · 8 lines
Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH v3 1/1 mm: Remove ancient/ambiguous comment
In reply to Nikolay BorisovCurrently pg_data_t is just a struct which describes a NUMA node memory layout. Let's keep the comment simple and remove ambiguity.
--- include/linux/mmzone.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
include/linux/mmzone.h +2 -5
@@ -587,12 +587,9 @@ extern struct page *mem_map;#endif /* -* The pg_data_t structure is used in machines with CONFIG_DISCONTIGMEM -* (mostly NUMA machines?) to denote a higher-level memory zone than the -* zone denotes. -* * On NUMA machines, each NUMA node would have a pg_data_t to describe -* it's memory layout. +* it's memory layout. On UMA machines there is a single pglist_data which +* describes the whole memory. * * Memory statistics and page replacement data structures are maintained on a * per-zone basis.
Signature · 7 lines
2.7.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>