login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
7
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jeremy Fitzhardinge
Subject:
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
Date: Thursday, August 7, 2008 - 4:49 pm
Zachary Amsden wrote:
quoted text
> On Thu, 2008-08-07 at 16:08 -0700, Linus Torvalds wrote: > >> On Thu, 7 Aug 2008, H. Peter Anvin wrote: >> >>> Just moving it down by 4 MB doesn't help, since the VMI guys want as much as >>> 64 MB, which is half the standard vmalloc area and hence too much address >>> space lost. We can't put it at the bottom of the vmalloc area, since that >>> boundary is not fixed, either. >>> >> Yeah, ok. Since this is a 32-bit only issue, 64MB is actually a fair chunk >> of our already limited virtual space. >> >> >>> The one remaining fixed boundary in the machine is the kernel-userspace >>> boundary. Hence moving the 1:1 area up by one PDE unit and sticking the >>> fixmap area in that region. >>> >> Yeah, ok, but I'd be more nervous about the validation issues there. There >> might be a lot of code that assumes that TASK_SIZE is the start of the 1:1 >> area. It does sound like a good approach, it just makes me worry about the >> test coverage. >> > > Well, here's an idea from outer space. The fixmap can't possibly be > used until it's got a backing page table and initial mappings installed. > One can imagine a world where references to the fixmap are left as > unresolved, and then those unresolved symbols are linked to the fixmap > area when it gets set up in the kernel page table. Voilla! > > The requisite foodling required to massage various gcci and lds into > compliance with this scheme, not to mention the required module loading > changes might be a bit of headache, and even then, I'm not sure that gcc > will be smart enough to allow all the required relocations to generate > optimal code. > > But the upshot would be the potential for dynamic registration of fixmap > areas, yet still keeping direct pointers into the thing, and also > removing all the ifdefs from the fixmap definitions for the various > platform specific fixmap pages. Just leave dangling references to some > fixed bad address (fixmap_hole) for things unused. And even allow > kernel modules to register new fixmap types! > > All it requires is a well thought out strategy for naming fixmap pages > and then two sprinkles of linker magic. You could even randomize the > non-randomized VDSO location at boot-time. Whee! >
fixmap.ko, except backwards? That said, isn't this exactly what the immediate values stuff is supposed to be able to do? J --
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 broken VMI in 2.6.27-rc..
, Alok Kataria
, (Thu Aug 7, 12:12 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 2:20 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Zachary Amsden
, (Thu Aug 7, 2:27 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 2:34 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Alok Kataria
, (Thu Aug 7, 2:41 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Zachary Amsden
, (Thu Aug 7, 2:42 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 2:52 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Zachary Amsden
, (Thu Aug 7, 2:55 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 3:17 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Linus Torvalds
, (Thu Aug 7, 3:38 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 3:58 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Linus Torvalds
, (Thu Aug 7, 4:08 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 4:12 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Jeremy Fitzhardinge
, (Thu Aug 7, 4:21 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Jeremy Fitzhardinge
, (Thu Aug 7, 4:23 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Zachary Amsden
, (Thu Aug 7, 4:26 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 4:27 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Jeremy Fitzhardinge
, (Thu Aug 7, 4:46 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Jeremy Fitzhardinge
, (Thu Aug 7, 4:49 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 4:51 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Yinghai Lu
, (Thu Aug 7, 5:01 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Jeremy Fitzhardinge
, (Thu Aug 7, 5:10 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 5:11 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 5:13 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Jeremy Fitzhardinge
, (Thu Aug 7, 5:23 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 5:29 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Zachary Amsden
, (Thu Aug 7, 6:14 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Thu Aug 7, 6:19 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Zachary Amsden
, (Thu Aug 7, 6:28 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Jeremy Fitzhardinge
, (Thu Aug 7, 11:10 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Fri Aug 8, 9:13 am)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, Alok Kataria
, (Fri Aug 8, 12:15 pm)
Re: [PATCH]Fix broken VMI in 2.6.27-rc..
, H. Peter Anvin
, (Fri Aug 8, 3:23 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Fortier,Vincent [Montreal]
2.6.21.5 june 30th to july 1st date hang?
Jeff Dike
[ PATCH 2/6 ] UML - Formatting fixes around os_{read_write}_file callers
Liam Girdwood
[PATCH 07/13] regulator: regulator test harness
Oleg Nesterov
Re: Getting the new RxRPC patches upstream
Stefan Seyfried
Re: 2.6.19-rc5: grub is much slower resuming from suspend-to-disk than in 2.6.18
linux-netdev
:
Arnaud Ebalard
Re: [REGRESSION,BISECTED] MIPv6 support broken by f4f914b58019f0
Jan Engelhardt
Re: [PATCH iptables] extension: add xt_cpu match
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Sebastian Andrzej Siewior
[PATCH 8/8] net/emergency: remove locking from reycling pool if emergncy pools are...
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
git
:
Jakub Narebski
Re: git on MacOSX and files with decomposed utf-8 file names
Brandon Casey
Re: Thunderbird and patches (was Re: [PATCH v2] Enable setting attach as the def...
Christian Couder
[PATCH 1/3] rev-parse: add test script for "--verify"
Ramkumar Ramachandra
Re: [GSoC update] git-remote-svn: The final one
Junio C Hamano
Re: git-rm isn't the inverse action of git-add
openbsd-misc
:
Joachim Schipper
Re: UVC Webcams
Florin Andrei
SOLVED [was: firewall is very slow, something's wrong]
Todd Alan Smith
Re: Microsoft gets the Most Secure Operating Systems award
Neal Hogan
Re: Need Advice: Thinkpad T60 or T61?
Sam Fourman Jr.
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
ACPI: Disable ARB_DISABLE on platforms where it is not needed
Linux Kernel Mailing List
m68knommu: add read_barrier_depends() and irqs_disabled_flags()
Linux Kernel Mailing List
[MTD] Add mtd panic_write function pointer
Linux Kernel Mailing List
[ARM] pxa: remove duplicate select statements from Kconfig
Linux Kernel Mailing List
mlx4_core: Don't read reserved fields in mlx4_QUERY_ADAPTER()
Colocation donated by:
Syndicate