aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_benchmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_benchmark.h')
0 files changed, 0 insertions, 0 deletions
pan>; i < MAX_ZONELISTS * MAX_NR_ZONES; i++) { /* Identify the zone and nodelist */ zoneid = i % MAX_NR_ZONES; listid = i / MAX_NR_ZONES; zonelist = &pgdat->node_zonelists[listid]; zone = &pgdat->node_zones[zoneid]; if (!populated_zone(zone)) continue; /* Print information about the zonelist */ printk(KERN_DEBUG "mminit::zonelist %s %d:%s = ", listid > 0 ? "thisnode" : "general", nid, zone->name); /* Iterate the zonelist */ for_each_zone_zonelist(zone, z, zonelist, zoneid) { #ifdef CONFIG_NUMA printk(KERN_CONT "%d:%s ", zone->node, zone->name); #else printk(KERN_CONT "0:%s ", zone->name); #endif /* CONFIG_NUMA */ } printk(KERN_CONT "\n"); } } } void __init mminit_verify_pageflags_layout(void) { int shift, width; unsigned long or_mask, add_mask; shift = 8 * sizeof(unsigned long); width = shift - SECTIONS_WIDTH - NODES_WIDTH - ZONES_WIDTH; mminit_dprintk(MMINIT_TRACE, "pageflags_layout_widths", "Section %d Node %d Zone %d Flags %d\n", SECTIONS_WIDTH, NODES_WIDTH, ZONES_WIDTH, NR_PAGEFLAGS); mminit_dprintk(MMINIT_TRACE, "pageflags_layout_shifts", "Section %d Node %d Zone %d\n", SECTIONS_SHIFT, NODES_SHIFT, ZONES_SHIFT); mminit_dprintk(MMINIT_TRACE, "pageflags_layout_offsets", "Section %lu Node %lu Zone %lu\n", (unsigned long)SECTIONS_PGSHIFT, (unsigned long)NODES_PGSHIFT, (unsigned long)ZONES_PGSHIFT); mminit_dprintk(MMINIT_TRACE, "pageflags_layout_zoneid", "Zone ID: %lu -> %lu\n", (unsigned long)ZONEID_PGOFF, (unsigned long)(ZONEID_PGOFF + ZONEID_SHIFT)); mminit_dprintk(MMINIT_TRACE, "pageflags_layout_usage", "location: %d -> %d unused %d -> %d flags %d -> %d\n",