login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
5
Re: [RFC] use realmode code to reserve end-of-conventional-memory to 1MB
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: H. Peter Anvin
Subject:
Re: [RFC] use realmode code to reserve end-of-conventional-memory to 1MB
Date: Wednesday, March 5, 2008 - 9:08 am
Eduardo Habkost wrote:
quoted text
>> >> diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c >> index 3bad477..2341492 100644 >> --- a/arch/x86/xen/setup.c >> +++ b/arch/x86/xen/setup.c >> @@ -38,7 +38,8 @@ char * __init xen_memory_setup(void) >> unsigned long max_pfn = xen_start_info->nr_pages; >> >> e820.nr_map = 0; >> - add_memory_region(0, PFN_PHYS(max_pfn), E820_RAM); >> + add_memory_region(0, LOWMEMSIZE(), E820_RAM); >> + add_memory_region(HIGH_MEMORY, PFN_PHYS(max_pfn)-HIGH_MEMORY, E820_RAM); > > Won't this waste 300+ KB of Perfectly Good RAM? Or I understood it > incorrectly? > > I am aware that it would take more work to tell all kernel code that it > shouldn't look for BIOS data on this region when running as a domU guest, > but it seems that it would be a better solution. >
No, the right thing is for Xen to not try to map RAM in this area. -hpa --
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] Fix alignment of early reservation for EBDA
, Alexander van Heukelum
, (Sun Feb 24, 10:46 am)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Andi Kleen
, (Sun Feb 24, 12:27 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Ingo Molnar
, (Sun Feb 24, 12:41 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Alexander van Heukelum
, (Sun Feb 24, 1:53 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA
, H. Peter Anvin
, (Sun Feb 24, 7:18 pm)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Alexander van Heukelum
, (Mon Feb 25, 9:54 am)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Ingo Molnar
, (Mon Feb 25, 10:01 am)
[PATCH] reserve_early end-of-conventional-memory to 1MB
, Alexander van Heukelum
, (Mon Feb 25, 11:07 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, H. Peter Anvin
, (Mon Feb 25, 11:13 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, Alexander van Heukelum
, (Mon Feb 25, 12:46 pm)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, H. Peter Anvin
, (Mon Feb 25, 2:17 pm)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, Ingo Molnar
, (Tue Feb 26, 2:30 am)
Re: [PATCH] Fix alignment of early reservation for EBDA
, Andi Kleen
, (Wed Feb 27, 7:25 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1MB
, Andi Kleen
, (Wed Feb 27, 7:26 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1M ...
, Andi Kleen
, (Wed Feb 27, 7:38 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1M ...
, H. Peter Anvin
, (Wed Feb 27, 9:44 am)
Re: [PATCH] reserve_early end-of-conventional-memory to 1M ...
, Alexander van Heukelum
, (Wed Feb 27, 1:01 pm)
[PATCH] reserve end-of-conventional-memory to 1MB on 32-bit
, Alexander van Heukelum
, (Thu Feb 28, 6:13 am)
[RFC] use realmode code to reserve end-of-conventional-mem ...
, Alexander van Heukelum
, (Thu Feb 28, 6:28 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Ian Campbell
, (Thu Feb 28, 2:09 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ian Campbell
, (Thu Feb 28, 2:12 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Thu Feb 28, 2:14 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ian Campbell
, (Thu Feb 28, 4:16 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Fri Feb 29, 4:49 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Mark McLoughlin
, (Fri Feb 29, 10:14 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Fri Feb 29, 11:38 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, H. Peter Anvin
, (Fri Feb 29, 11:44 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Fri Feb 29, 11:56 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Fri Feb 29, 1:00 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Mark McLoughlin
, (Fri Feb 29, 3:06 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Fri Feb 29, 3:26 pm)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Sat Mar 1, 9:09 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 6 ...
, Alexander van Heukelum
, (Sat Mar 1, 9:12 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Mark McLoughlin
, (Tue Mar 4, 4:41 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Mark McLoughlin
, (Tue Mar 4, 4:44 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Tue Mar 4, 6:31 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Tue Mar 4, 7:33 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Ingo Molnar
, (Tue Mar 4, 7:49 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ian Campbell
, (Tue Mar 4, 8:12 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 8:13 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Mark McLoughlin
, (Tue Mar 4, 8:16 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 8:18 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Ingo Molnar
, (Tue Mar 4, 8:24 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Tue Mar 4, 8:25 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 9:02 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Tue Mar 4, 9:15 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Mark McLoughlin
, (Tue Mar 4, 9:15 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Ingo Molnar
, (Tue Mar 4, 9:23 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Alexander van Heukelum
, (Tue Mar 4, 9:51 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, H. Peter Anvin
, (Tue Mar 4, 10:05 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB on 3 ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 10:11 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Tue Mar 4, 10:44 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB, 32- ...
, Alexander van Heukelum
, (Tue Mar 4, 11:57 am)
Re: [PATCH] reserve end-of-conventional-memory to 1MB, 64- ...
, Alexander van Heukelum
, (Tue Mar 4, 12:12 pm)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Eduardo Habkost
, (Wed Mar 5, 8:59 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Wed Mar 5, 9:08 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Wed Mar 5, 9:38 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Eduardo Habkost
, (Wed Mar 5, 9:53 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Wed Mar 5, 10:27 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, Jeremy Fitzhardinge
, (Wed Mar 5, 10:28 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Wed Mar 5, 10:28 am)
Re: [RFC] use realmode code to reserve end-of-conventional ...
, H. Peter Anvin
, (Wed Mar 5, 10:38 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #16136] Linux 2.6.34 causes system lockup on Compaq Presario 2200 Laptop
Joerg Roedel
Re: [patch] dma-debug: off by one issue
Tetsuo Handa
Re: [AppArmor #7 0/13] AppArmor security module
Pekka Enberg
Re: BUG in free_block (tainted)
Jakub Narebski
Re: [PATCH] gitweb: Fix shortlog only showing HEAD revision.
git
:
Christian Stimming
git-gui: Fix broken revert confirmation.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
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...
Amit Kumar Salecha
[PATCH NEXT 10/10] qlcnic: add cksum flag
Patrick McHardy
Re: [PATCH RESEND 1/3] netfilter: xtables: inclusion of xt_condition
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
V4L/DVB (9041): Add support YUAN High-Tech STK7700D (1164:1f08)
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Stuart Henderson
Re: SquidGuard problem
Henning Brauer
Re: 3ware hardware raid support?
Ryan McBride
Re: Packets Per Second Limit?
Colocation donated by:
Syndicate