login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
13
Re: [patch 3/3] arch_rebalance_pgtables call
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nick Piggin
Subject:
Re: [patch 3/3] arch_rebalance_pgtables call
Date: Tuesday, November 13, 2007 - 5:33 am
On Tuesday 13 November 2007 01:30,
schwidefsky@de.ibm.com
wrote:
quoted text
> From: Martin Schwidefsky <schwidefsky@de.ibm.com> > > In order to change the layout of the page tables after an mmap has > crossed the adress space limit of the current page table layout a > architecture hook in get_unmapped_area is needed. The arguments > are the address of the new mapping and the length of it.
Can you comment what this is supposed to be fore somewhere?
quoted text
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> > Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> > --- > > mm/mmap.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > Index: linux-2.6/mm/mmap.c > =================================================================== > --- linux-2.6.orig/mm/mmap.c > +++ linux-2.6/mm/mmap.c > @@ -36,6 +36,10 @@ > #define arch_mmap_check(addr, len, flags) (0) > #endif > > +#ifndef arch_rebalance_pgtables > +#define arch_rebalance_pgtables(addr, len) (addr) > +#endif > + > static void unmap_region(struct mm_struct *mm, > struct vm_area_struct *vma, struct vm_area_struct *prev, > unsigned long start, unsigned long end); > @@ -1436,7 +1440,7 @@ get_unmapped_area(struct file *file, uns > if (addr & ~PAGE_MASK) > return -EINVAL; > > - return addr; > + return arch_rebalance_pgtables(addr, len); > } > > EXPORT_SYMBOL(get_unmapped_area);
-
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 3/3] arch_rebalance_pgtables call
, schwidefsky
, (Mon Nov 12, 7:30 am)
Re: [patch 3/3] arch_rebalance_pgtables call
, Nick Piggin
, (Tue Nov 13, 5:33 am)
Re: [patch 3/3] arch_rebalance_pgtables call
, Martin Schwidefsky
, (Wed Nov 14, 2:26 am)
Re: [patch 3/3] arch_rebalance_pgtables call
, Benjamin Herrenschmidt
, (Wed Nov 14, 3:06 am)
Re: [patch 3/3] arch_rebalance_pgtables call
, Martin Schwidefsky
, (Wed Nov 14, 4:49 am)
Re: [patch 3/3] arch_rebalance_pgtables call
, Benjamin Herrenschmidt
, (Wed Nov 14, 3:07 pm)
Re: [patch 3/3] arch_rebalance_pgtables call
, Martin Schwidefsky
, (Thu Nov 15, 10:13 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Alex Riesen
Re: [PATCH 4/7] lib: Introduce strnstr()
Thomas Gleixner
[ANNOUNCE] 2.6.31-rc6-rt2
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
git
:
Blaisorblade
git-unpack-objects < pack file in repository doesn't work!
Matthieu Moy
Re: Cloning empty repositories, was Re: What is the idea for bare repositories?
Linus Torvalds
Re: Untracked working tree files
Peter Karlsson
Re: CRLF problems with Git on Win32
Johannes Schindelin
Re: [PATCH 4/4] git-rebase -i: New option to support rebase with merges
linux-netdev
:
Alan Menegotto
Re: Linux networking implementation and packet capture
Andrew Morton
Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
Timo Teräs
ip xfrm policy semantics
Jarek Poplawski
Re: [PATCH]: Fix queueing return values...
David Miller
Re: [PATCH 1/2] netdev: bfin_mac: enable bfin_mac net dev driver for BF51x
git-commits-head
:
Linux Kernel Mailing List
Blackfin: don't give CPU its own line in traps output
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
powerpc: gamecube/wii: usbgecko bootwrapper console support
openbsd-misc
:
Aaron Mason
Re: Defending OpenBSD Performance
Henning Brauer
Re: Defending OpenBSD Performance
Henning Brauer
Re: Defending OpenBSD Performance
Christiano Farina Haesbaert
Re: Defending OpenBSD Performance
Nick Holland
Re: 1 out of 3 hunks failed--saving rejects to kerberosV/src/lib/krb5/crypto.c.rej
Colocation donated by:
Syndicate