Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 216401 Details for
Bug 221612
ia64: show_mem() for sparsemem NUMA
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
backport
3be2ec837404.patch (text/plain), 4.03 KB, created by
George Beshers
on 2007-10-04 20:28:42 UTC
(
hide
)
Description:
backport
Filename:
MIME Type:
Creator:
George Beshers
Created:
2007-10-04 20:28:42 UTC
Size:
4.03 KB
patch
obsolete
> ># HG changeset patch ># User Jes Sorensen <jes@sgi.com> ># Date 1159305354 -25200 ># Node ID 3be2ec83740492f00bb30e1c33dc56015096a5e2 ># Parent 9147b614299e3feef2a370f10c31ab3b28bd114e >[IA64] show_mem() printk levels > >Use the default sysrq printk level for printing show_mem() output both >for disconfig and contig versions. This is consistent with the printk >level used on other architectures (well ia32 at least). > >Signed-off-by: Jes Sorensen <jes@sgi.com> >Signed-off-by: Tony Luck <tony.luck@intel.com> > >committer: Tony Luck <tony.luck@intel.com> 1159305354 -0700 > > >diff -purN linux.a/arch/ia64/mm/contig.c linux.b/arch/ia64/mm/contig.c >--- linux.a/arch/ia64/mm/contig.c 2006-09-19 23:42:06.000000000 -0400 >+++ linux.b/arch/ia64/mm/contig.c 2007-10-02 14:22:53.000000000 -0400 >@@ -41,10 +41,11 @@ show_mem (void) > int i, total = 0, reserved = 0; > int shared = 0, cached = 0; > >- printk("Mem-info:\n"); >+ printk(KERN_INFO "Mem-info:\n"); > show_free_areas(); > >- printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10)); >+ printk(KERN_INFO "Free swap: %6ldkB\n", >+ nr_swap_pages<<(PAGE_SHIFT-10)); > i = max_mapnr; > for (i = 0; i < max_mapnr; i++) { > if (!pfn_valid(i)) { >@@ -63,12 +64,12 @@ show_mem (void) > else if (page_count(mem_map + i)) > shared += page_count(mem_map + i) - 1; > } >- printk("%d pages of RAM\n", total); >- printk("%d reserved pages\n", reserved); >- printk("%d pages shared\n", shared); >- printk("%d pages swap cached\n", cached); >- printk("%ld pages in page table cache\n", >- pgtable_quicklist_total_size()); >+ printk(KERN_INFO "%d pages of RAM\n", total); >+ printk(KERN_INFO "%d reserved pages\n", reserved); >+ printk(KERN_INFO "%d pages shared\n", shared); >+ printk(KERN_INFO "%d pages swap cached\n", cached); >+ printk(KERN_INFO "%ld pages in page table cache\n", >+ pgtable_quicklist_total_size()); > } > > /* physical address where the bootmem map is located */ >diff -purN linux.a/arch/ia64/mm/discontig.c linux.b/arch/ia64/mm/discontig.c >--- linux.a/arch/ia64/mm/discontig.c 2006-09-19 23:42:06.000000000 -0400 >+++ linux.b/arch/ia64/mm/discontig.c 2007-10-02 14:22:53.000000000 -0400 >@@ -547,15 +547,16 @@ void show_mem(void) > unsigned long total_present = 0; > pg_data_t *pgdat; > >- printk("Mem-info:\n"); >+ printk(KERN_INFO "Mem-info:\n"); > show_free_areas(); >- printk("Free swap: %6ldkB\n", nr_swap_pages<<(PAGE_SHIFT-10)); >+ printk(KERN_INFO "Free swap: %6ldkB\n", >+ nr_swap_pages<<(PAGE_SHIFT-10)); > for_each_online_pgdat(pgdat) { > unsigned long present; > unsigned long flags; > int shared = 0, cached = 0, reserved = 0; > >- printk("Node ID: %d\n", pgdat->node_id); >+ printk(KERN_INFO "Node ID: %d\n", pgdat->node_id); > pgdat_resize_lock(pgdat, &flags); > present = pgdat->node_present_pages; > for(i = 0; i < pgdat->node_spanned_pages; i++) { >@@ -579,18 +580,18 @@ void show_mem(void) > total_reserved += reserved; > total_cached += cached; > total_shared += shared; >- printk("\t%ld pages of RAM\n", present); >- printk("\t%d reserved pages\n", reserved); >- printk("\t%d pages shared\n", shared); >- printk("\t%d pages swap cached\n", cached); >+ printk(KERN_INFO "\t%ld pages of RAM\n", present); >+ printk(KERN_INFO "\t%d reserved pages\n", reserved); >+ printk(KERN_INFO "\t%d pages shared\n", shared); >+ printk(KERN_INFO "\t%d pages swap cached\n", cached); > } >- printk("%ld pages of RAM\n", total_present); >- printk("%d reserved pages\n", total_reserved); >- printk("%d pages shared\n", total_shared); >- printk("%d pages swap cached\n", total_cached); >- printk("Total of %ld pages in page table cache\n", >- pgtable_quicklist_total_size()); >- printk("%d free buffer pages\n", nr_free_buffer_pages()); >+ printk(KERN_INFO "%ld pages of RAM\n", total_present); >+ printk(KERN_INFO "%d reserved pages\n", total_reserved); >+ printk(KERN_INFO "%d pages shared\n", total_shared); >+ printk(KERN_INFO "%d pages swap cached\n", total_cached); >+ printk(KERN_INFO "Total of %ld pages in page table cache\n", >+ pgtable_quicklist_total_size()); >+ printk(KERN_INFO "%d free buffer pages\n", nr_free_buffer_pages()); > } > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221612
:
144914
|
216391
| 216401 |
216411
|
216421
|
216431
|
224591
|
224601
|
224611