diff options
author | Christoph Lameter <clameter@sgi.com> | 2006-09-26 08:31:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 17:48:52 +0200 |
commit | 4415cc8df630b05d3a54267d5f3e5c0b63a4ec05 (patch) | |
tree | 528a12aceb17a9c62323425bdc1dc989eb0375c5 /mm/vmscan.c | |
parent | [PATCH] oom-kill: update comments to reflect current code (diff) | |
download | linux-4415cc8df630b05d3a54267d5f3e5c0b63a4ec05.tar.xz linux-4415cc8df630b05d3a54267d5f3e5c0b63a4ec05.zip |
[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 <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions