diff options
| author | Christoph Lameter <[email protected]> | 2006-09-25 23:31:55 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-09-26 08:48:52 -0700 |
| commit | 4415cc8df630b05d3a54267d5f3e5c0b63a4ec05 (patch) | |
| tree | 528a12aceb17a9c62323425bdc1dc989eb0375c5 /include/linux/debugobjects.h | |
| parent | 5a291b98b2116d669449885abef3000f747504b3 (diff) | |
[PATCH] Hugepages: Use page_to_nid rather than traversing zone pointers
I found two location in hugetlb.c where we chase pointer instead of using
page_to_nid(). Page_to_nid is more effective and can get the node directly
from page flags.
Signed-off-by: Christoph Lameter <[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