Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53820
b: refs/heads/master
c: ae32b12
h: refs/heads/master
v: v3
  • Loading branch information
Konrad Rzeszutek authored and Andi Kleen committed May 2, 2007
1 parent 827ce41 commit 4d6d9aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c8118c6c07f2edfd697aaa0b93e08c3b65a5a675
refs/heads/master: ae32b1297a77c23fd0badd642bb685062f7a37f8
6 changes: 6 additions & 0 deletions trunk/arch/x86_64/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <linux/dma-mapping.h>
#include <linux/module.h>
#include <linux/memory_hotplug.h>
#include <linux/nmi.h>

#include <asm/processor.h>
#include <asm/system.h>
Expand Down Expand Up @@ -73,6 +74,11 @@ void show_mem(void)

for_each_online_pgdat(pgdat) {
for (i = 0; i < pgdat->node_spanned_pages; ++i) {
/* this loop can take a while with 256 GB and 4k pages
so update the NMI watchdog */
if (unlikely(i % MAX_ORDER_NR_PAGES == 0)) {
touch_nmi_watchdog();
}
page = pfn_to_page(pgdat->node_start_pfn + i);
total++;
if (PageReserved(page))
Expand Down

0 comments on commit 4d6d9aa

Please sign in to comment.