NUMA: Memoryless node support V4
Get series with b4
b4 am 20070727194316.18614.36380.sendpatchset@localhostVersions newest first
- v1 Latest14 patches 51 repliesIn review
Changes V3->V4 from the cover letter
- Refresh against 23-rc1-mm1
- teach cpusets about memoryless nodes.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | NUMA: Generic management of nodemasks for various purposesinclude/ mm/ | +78 | 43 replies | |
| 2/14 | Memoryless nodes: introduce mask of nodes with memoryinclude/ mm/ | +8 | 0 replies | |
| 3/14 | Memoryless Nodes: Fix interleave behaviormm/ | +3 | 0 replies | |
| 4/14 | OOM: use the N_MEMORY map instead of constructing one on the flymm/ | +1 | 0 replies | |
| 5/14 | Memoryless Nodes: No need for kswapdmm/ | +1 | 0 replies | |
| 6/14 | Memoryless Node: Slab supportmm/ | +4 | 0 replies | |
| 7/14 | Memoryless nodes: SLUB supportmm/ | +8 | 0 replies | |
| 8/14 | Uncached allocator: Handle memoryless nodesarch/ drivers/ | +3 | 0 replies | |
| 9/14 | Memoryless node: Allow profiling data to fall back to other nodeskernel/ | +2 | 0 replies | |
| 10/14 | Memoryless nodes: Update memory policy and page migrationmm/ mm/ | +6 | 0 replies | |
| 11/14 | Add N_CPU node stateinclude/ mm/ mm/ | +5 | 0 replies | |
| 12/14 | Memoryless nodes: Fix GFP_THISNODE behaviorinclude/ include/ mm/ | +47 | 0 replies | |
| 13/14 | Memoryless Nodes: use "node_memory_map" for cpusetsDocumentation/ include/ kernel/ | +39 | 0 replies | |
| 14/14 | Memoryless nodes: drop one memoryless node boot warningmm/ | +1 | 0 replies |
Reviews trailers per patch
12 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Lee Schermerhorn | Bob Picco | Nishanth Aravamudan | Christoph Lameter |
|---|---|---|---|---|
| 1/14 | T-b A-b | A-b | A-b | |
| 2/14 | Tested-off-by | A-b | ||
| 3/14 | T-b A-b | A-b | ||
| 4/14 | A-b | A-b | A-b | |
| 5/14 | T-b A-b | A-b | A-b | |
| 6/14 | A-b | A-b | A-b | |
| 7/14 | T-b A-b | A-b | ||
| 8/14 | A-b | A-b | ||
| 9/14 | A-b | A-b | A-b | |
| 10/14 | T-b A-b | A-b | A-b | |
| 11/14 | T-b A-b | A-b | ||
| 12/14 | T-b A-b | A-b | A-b | |
| 13/14 | T-b | |||
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/14] NUMA: Memoryless node support V4
Changes V3->V4:
- Refresh against 23-rc1-mm1
- teach cpusets about memoryless nodes.
Changes V2->V3:
- Refresh patches (sigh)
- Add comments suggested by Kamezawa Hiroyuki
- Add signoff by Jes Sorensen
Changes V1->V2:
- Add a generic layer that allows the definition of additional node bitmaps
This patchset is implementing additional node bitmaps that allow the system to track nodes that are online without memory and nodes that have processors.
In various subsystems we can use that information to customize VM behavior.
We define a number of node states that we track in enum node_states
/*
* Bitmasks that are kept for all the nodes.
*/
enum node_states {
N_POSSIBLE, /* The node could become online at some point */ N_ONLINE, /* The node is online */ N_MEMORY, /* The node has memory */ N_CPU, /* The node has cpus */
NR_NODE_STATES
};
and define operations using the node states:
static inline int node_state(int node, enum node_states state)
{
return node_isset(node, node_states[state]);
}static inline void node_set_state(int node, enum node_states state)
{
__node_set(node, &node_states[state]);
}static inline void node_clear_state(int node, enum node_states state)
{
__node_clear(node, &node_states[state]);
}static inline int num_node_state(enum node_states state)
{
return nodes_weight(node_states[state]);
}Signature · 5 lines
-- 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>