* [PATCH/RFC 0/2] Remove pgdat list
@ 2005-05-13 7:25 Yasunori Goto
0 siblings, 0 replies; only message in thread
From: Yasunori Goto @ 2005-05-13 7:25 UTC (permalink / raw)
To: linux-mm
Hello.
I wrote patches to remove pgdat list in pgdat structure, because
I think it is redundant.
In the current implementation, pgdat structure has this list.
struct pglist_data{
:
struct pglist_data *pgdat_next;
:
}
This is used for searching other zones and nodes by for_each_pgdat and
for_each_zone macros. So, if a node is hot added,
the system has to not only set bit of node_online_map,
but also connect this for new node.
However, all of pgdat list user would like to know just
next (online) node. So, I think node_online_map is enough information
for them to find other nodes.
By this patch, hot add/remove code for node will be a little simpler.
This patches is for 2.6.12-rc3-mhp1. I tested them on Tiger4 with
node emulation.
Please comment.
Thanks.
--
Yasunori Goto
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-13 7:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-13 7:25 [PATCH/RFC 0/2] Remove pgdat list Yasunori Goto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox