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 216411 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
ddb47ed6879d.patch (text/plain), 1.76 KB, created by
George Beshers
on 2007-10-04 20:29:09 UTC
(
hide
)
Description:
backport
Filename:
MIME Type:
Creator:
George Beshers
Created:
2007-10-04 20:29:09 UTC
Size:
1.76 KB
patch
obsolete
> ># HG changeset patch ># User Jes Sorensen <jes@sgi.com> ># Date 1159305416 -25200 ># Node ID ddb47ed6879d5df26dfa39f951ddbe797f4cb726 ># Parent 3be2ec83740492f00bb30e1c33dc56015096a5e2 >[IA64] trim output of show_mem() > >Cut the number of lines of memory info output per node from five >to one line. > >Signed-off-by: Jes Sorensen <jes@sgi.com> >Signed-off-by: Tony Luck <tony.luck@intel.com> > >committer: Tony Luck <tony.luck@intel.com> 1159305416 -0700 > > >diff -purN linux.b/arch/ia64/mm/discontig.c linux.c/arch/ia64/mm/discontig.c >--- linux.b/arch/ia64/mm/discontig.c 2007-10-02 14:22:53.000000000 -0400 >+++ linux.c/arch/ia64/mm/discontig.c 2007-10-02 14:23:48.000000000 -0400 >@@ -551,12 +551,12 @@ void show_mem(void) > show_free_areas(); > printk(KERN_INFO "Free swap: %6ldkB\n", > nr_swap_pages<<(PAGE_SHIFT-10)); >+ printk(KERN_INFO "Node memory in pages:\n"); > for_each_online_pgdat(pgdat) { > unsigned long present; > unsigned long flags; > int shared = 0, cached = 0, reserved = 0; > >- 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++) { >@@ -580,10 +580,9 @@ void show_mem(void) > total_reserved += reserved; > total_cached += cached; > total_shared += shared; >- 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(KERN_INFO "Node %4d: RAM: %11ld, rsvd: %8d, " >+ "shrd: %10d, swpd: %10d\n", pgdat->node_id, >+ present, reserved, shared, cached); > } > printk(KERN_INFO "%ld pages of RAM\n", total_present); > printk(KERN_INFO "%d reserved pages\n", total_reserved);
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