projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eea69d
)
/proc/self/numa_maps: restore "huge" tag for hugetlb vmas
author
Andrew Morton
<
[email protected]
>
Tue, 1 Nov 2011 00:06:32 +0000
(17:06 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 1 Nov 2011 00:30:44 +0000
(17:30 -0700)
The display of the "huge" tag was accidentally removed in
29ea2f698
("mm:
use walk_page_range() instead of custom page table walking code").
Reported-by: Stephen Hemminger <
[email protected]
>
Tested-by: Stephen Hemminger <
[email protected]
>
Reviewed-by: Stephen Wilson <
[email protected]
>
Cc: KOSAKI Motohiro <
[email protected]
>
Cc: Hugh Dickins <
[email protected]
>
Acked-by: David Rientjes <
[email protected]
>
Cc: Lee Schermerhorn <
[email protected]
>
Cc: Alexey Dobriyan <
[email protected]
>
Cc: Christoph Lameter <
[email protected]
>
Cc: <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/proc/task_mmu.c
patch
|
blob
|
history
diff --git
a/fs/proc/task_mmu.c
b/fs/proc/task_mmu.c
index 5afaa58a863012d83a69763b2e65c9db67fe2ada..c7d4ee663f1437b2226ab3d33a348e8985a78f4f 100644
(file)
--- a/
fs/proc/task_mmu.c
+++ b/
fs/proc/task_mmu.c
@@
-1039,6
+1039,9
@@
static int show_numa_map(struct seq_file *m, void *v)
seq_printf(m, " stack");
}
+ if (is_vm_hugetlb_page(vma))
+ seq_printf(m, " huge");
+
walk_page_range(vma->vm_start, vma->vm_end, &walk);
if (!md->pages)