login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
December
»
24
Re: linux-next: parsing mem=700M broken
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ingo Oeser
Subject:
Re: linux-next: parsing mem=700M broken
Date: Wednesday, December 24, 2008 - 5:30 am
Hello Rusty, On Wednesday 24 December 2008, Rusty Russell wrote:
quoted text
> void __init finish_e820_parsing(void) > { > + bool userdef;
maybe init with userdef = false;
quoted text
> + int i; > + > + if (memlimit) { > + e820_remove_range(memlimit, ULLONG_MAX - memlimit, E820_RAM, 1); > + userdef = true; > + } > + > + if (exactmap) { > +#ifdef CONFIG_CRASH_DUMP > + /* > + * If we are doing a crash dump, we still need to know > + * the real mem size before original memory map is > + * reset. > + */ > + saved_max_pfn = e820_end_of_ram_pfn(); > +#endif > + e820.nr_map = 0; > + userdef = true; > + } > + > + for (i = 0; i < user_e820.nr_map; i++) { > + e820_add_region(user_e820.map[i].addr, user_e820.map[i].size, > + user_e820.map[i].type); > + userdef = true; > + } > + > if (userdef) { > int nr = e820.nr_map;
Because here it might be used uninitialized. Best Regards Ingo Oeser --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
linux-next: parsing mem=700M broken
, Hugh Dickins
, (Mon Dec 22, 8:06 pm)
Re: linux-next: parsing mem=700M broken
, Yinghai Lu
, (Mon Dec 22, 10:52 pm)
Re: linux-next: parsing mem=700M broken
, Ingo Molnar
, (Tue Dec 23, 7:33 am)
Re: linux-next: parsing mem=700M broken
, Rusty Russell
, (Wed Dec 24, 12:38 am)
Re: linux-next: parsing mem=700M broken
, Yinghai Lu
, (Wed Dec 24, 1:09 am)
Re: linux-next: parsing mem=700M broken
, Ingo Oeser
, (Wed Dec 24, 5:30 am)
Re: linux-next: parsing mem=700M broken
, Hugh Dickins
, (Wed Dec 24, 7:44 am)
Re: linux-next: parsing mem=700M broken
, Yinghai Lu
, (Wed Dec 24, 4:09 pm)
Re: linux-next: parsing mem=700M broken
, Rusty Russell
, (Wed Dec 24, 8:28 pm)
Re: linux-next: parsing mem=700M broken
, Rusty Russell
, (Wed Dec 24, 10:50 pm)
Re: linux-next: parsing mem=700M broken
, Rusty Russell
, (Thu Dec 25, 4:40 am)
[RFC] boot parameter handling cleanup II
, Rusty Russell
, (Thu Dec 25, 5:17 am)
[RFC PATCH] param: start_kernel_with_args()
, Rusty Russell
, (Thu Dec 25, 5:20 am)
Re: linux-next: parsing mem=700M broken
, Yinghai Lu
, (Thu Dec 25, 3:46 pm)
Re: [RFC] boot parameter handling cleanup II
, Ingo Molnar
, (Sat Dec 27, 3:14 am)
Re: linux-next: parsing mem=700M broken
, Rusty Russell
, (Sat Dec 27, 6:12 am)
Re: linux-next: parsing mem=700M broken
, Hugh Dickins
, (Sat Dec 27, 5:43 pm)
Re: linux-next: parsing mem=700M broken
, Yinghai Lu
, (Sat Dec 27, 7:07 pm)
Re: linux-next: parsing mem=700M broken
, Rusty Russell
, (Wed Dec 31, 8:42 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Waddington
Re: Gaming Interface
Takashi Iwai
Re: [PATCH] usb: usbmixer error path fix
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
Paul E. McKenney
Re: [PATCH, RFC] v4 scalable classic RCU implementation
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
bnx2x: Fan failure mechanism on additional design
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
openbsd-misc
:
James Hozier
Re: DVD burn error: No space left on device
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Very Fashion.com
Very-fashion.com -Novo! Brendirana garderoba po najpovoljnijim cenama.Bisou Bisou ...
Colocation donated by:
Syndicate