login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
27
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Yinghai Lu
Subject:
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
Date: Tuesday, May 27, 2008 - 2:35 pm
On Tue, May 27, 2008 at 2:22 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
quoted text
> Yinghai Lu wrote: >> >> Can you send out your boot log? >> > > I've included it below. > >> I still can not figure out INIT_PG_TABLE and RAMDISK could overlap? or >> only one byte? or the same page? >> > > Perhaps my explanation in the patch description wasn't clear enough. > > When Xen builds the domain, it's responsible for layout of the kernel, the > initrd and the initial pagetable (the kernel does not create its own > pagetable like it does when booting directly on x86). > > The layout is (from low to high addresses): > > kernel start ->+-------+ > |.text | > + - - - + > |.data | > + - - - + > |.bss | > _end->+-------+ > :padding: > +-------+<-ramdisk_image > : : > |initrd | > : : > +-------+<-ramdisk_end > :padding: > +-------+ > |pgtable| > init_pg_tables_end->+-------+ > > > Therefore, when you call early_reserve(&end, init_pg_tables_end) to reserve > the inital pagetable, you also implicitly reserve the whole ramdisk area. > Since your code currently reserves the ramdisk first, the reservation of > the pagetable fails because it overlaps the ramdisk. > > My patch does two things: > > 1. reserve the initial pagetable first > 2. skip reserving the ramdisk if it is within the pagetable range > > This makes sure that all the important memory is reserved from early in > boot. > > There are two alternate fixes: > > 1. try to precisely reserve *just* the pagetable, rather than > assuming it starts at &_end. I'm not sure there's currently a way > to do this, but it would be easy enough to add. Or, > 2. Make early reservation cope with overlapping ranges, and deal with > them appropriately.
thanks for the explanation... method 1 need to be done. BTW, XEN PV only support 32 bit? YH --
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:
[PATCH] x86: make e820.c to have common functions
, Yinghai Lu
, (Sun May 11, 12:30 am)
Re: [PATCH] x86: make e820.c to have common functions
, Ingo Molnar
, (Tue May 13, 6:05 am)
Re: [PATCH] x86: make e820.c to have common functions
, Yinghai Lu
, (Tue May 13, 10:35 am)
[PATCH] x86: extend e820 ealy_res support 32bit
, Yinghai Lu
, (Sun May 18, 1:18 am)
[PATCH] x86: move e820_mark_nosave_regions to e820.c
, Yinghai Lu
, (Tue May 20, 8:10 pm)
[PATCH] x86: extend e820 ealy_res support 32bit - fix
, Yinghai Lu
, (Wed May 21, 6:40 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix
, Jeremy Fitzhardinge
, (Thu May 22, 3:12 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix
, Yinghai Lu
, (Thu May 22, 10:58 am)
[PATCH] x86: extend e820 ealy_res support 32bit - fix v2
, Yinghai Lu
, (Thu May 22, 3:20 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
, Yinghai Lu
, (Fri May 23, 4:08 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
, Jeremy Fitzhardinge
, (Fri May 23, 4:32 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
, Jeremy Fitzhardinge
, (Fri May 23, 4:38 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
, Yinghai Lu
, (Fri May 23, 5:01 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
, Yinghai Lu
, (Fri May 23, 5:09 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
, Jeremy Fitzhardinge
, (Sat May 24, 1:54 am)
[PATCH] xen: boot via i386_start_kernel to get early reser ...
, Jeremy Fitzhardinge
, (Sat May 24, 2:49 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix v2
, Yinghai Lu
, (Sat May 24, 12:57 pm)
Re: [PATCH] xen: boot via i386_start_kernel to get early r ...
, Yinghai Lu
, (Sat May 24, 3:04 pm)
[PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Yinghai Lu
, (Sun May 25, 10:00 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Thomas Gleixner
, (Tue May 27, 8:44 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Jeremy Fitzhardinge
, (Tue May 27, 1:37 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Thomas Gleixner
, (Tue May 27, 1:58 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Jeremy Fitzhardinge
, (Tue May 27, 2:06 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Yinghai Lu
, (Tue May 27, 2:06 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Jeremy Fitzhardinge
, (Tue May 27, 2:22 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Yinghai Lu
, (Tue May 27, 2:35 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Jeremy Fitzhardinge
, (Tue May 27, 2:47 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Yinghai Lu
, (Tue May 27, 3:52 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Jeremy Fitzhardinge
, (Wed May 28, 3:01 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Yinghai Lu
, (Wed May 28, 1:48 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Jeremy Fitzhardinge
, (Wed May 28, 2:24 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Jeremy Fitzhardinge
, (Thu May 29, 6:37 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Yinghai Lu
, (Thu May 29, 11:41 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Yinghai Lu
, (Thu May 29, 11:52 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, H. Peter Anvin
, (Thu May 29, 11:58 am)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Yinghai Lu
, (Thu May 29, 12:14 pm)
[PATCH] x86: extend e820 early_res support 32bit -fix #3
, Yinghai Lu
, (Thu May 29, 12:56 pm)
[PATCH] x86: extend e820 early_res support 32bit -fix #4
, Yinghai Lu
, (Thu May 29, 12:57 pm)
[PATCH] x86: extend e820 early_res support 32bit -fix #5
, Yinghai Lu
, (Thu May 29, 12:58 pm)
[PATCH] x86: 32bit numa srat fix early_ioremap leak
, Yinghai Lu
, (Thu May 29, 4:25 pm)
Re: [PATCH] x86: extend e820 ealy_res support 32bit - fix #2
, Jeremy Fitzhardinge
, (Fri May 30, 8:50 am)
Re: [PATCH] x86: 32bit numa srat fix early_ioremap leak
, Ingo Molnar
, (Sat May 31, 1:01 am)
[PATCH] x86: 32bit numa increase max_elements to 1024
, Yinghai Lu
, (Sat May 31, 10:51 pm)
[PATCH] x86: change propagate_e820_map back to find_max_pf ...
, Yinghai Lu
, (Sat May 31, 10:52 pm)
[PATCH] x86: set node_remap_size[0] in fallback path
, Yinghai Lu
, (Sat May 31, 10:53 pm)
[PATCH] x86: numa_32 print out debug info all kva
, Yinghai Lu
, (Sat May 31, 10:56 pm)
[PATCH] x86: numa_32 print out debug info all kva v2
, Yinghai Lu
, (Sun Jun 1, 1:15 pm)
[PATCH] x86: numa_32 avoid clash between ramdisk and kva
, Yinghai Lu
, (Sun Jun 1, 9:06 pm)
[PATCH] x86: cleanup max_pfn_mapped usage - 32bit
, Yinghai Lu
, (Sun Jun 1, 11:53 pm)
[PATCH] x86: cleanup max_pfn_mapped usage - 64bit
, Yinghai Lu
, (Sun Jun 1, 11:55 pm)
[PATCH] x86: change propagate_e820_map back to find_max_pf ...
, Yinghai Lu
, (Mon Jun 2, 7:16 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate