diff options
| author | Johannes Weiner <[email protected]> | 2008-07-23 21:28:06 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-24 10:47:20 -0700 |
| commit | e2bf3cae515090fefe28329e71230dfe7ab873b1 (patch) | |
| tree | 459543aefbeef71a3479ab15ccfe2423bbce6602 /include/linux/debugobjects.h | |
| parent | d747fa4bcebcf3696607b86a6b0dafa644be0676 (diff) | |
bootmem: factor out the marking of a PFN range
Introduce new helpers that mark a range that resides completely on a node
or node-agnostic ranges that might also span node boundaries.
The free/reserve API functions will then directly use these helpers.
Note that the free/reserve semantics become more strict: while the prior
code took basically arbitrary range arguments and marked the PFNs that
happen to fall into that range, the new code requires node-specific ranges
to be completely on the node. The node-agnostic requests might span node
boundaries as long as the nodes are contiguous.
Passing ranges that do not satisfy these criteria is a bug.
[[email protected]: fix printk warnings]
Signed-off-by: Johannes Weiner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Yinghai Lu <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions