login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
31
Re: [git pull] x86 arch updates for v2.6.25
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jeremy Fitzhardinge
Subject:
Re: [git pull] x86 arch updates for v2.6.25
Date: Thursday, January 31, 2008 - 9:52 am
Ingo Molnar wrote:
quoted text
> * Adrian Bunk <bunk@stusta.de> wrote: > > >>>> What about the breakages caused by commit >>>> a5a19c63f4e55e32dc0bc3d936d7f94793d8b380 (this commit broke the >>>> defconfig compilation on at least avr32, blackfin, sh, sparc and uml)? >>>> >>> the patch below fixes that. >>> >> Is it safe, or why did Jeremy state in the commit >> "I removed this include to avoid an include cycle"? >> > > that is an x86.git complication alone, and only affects 32-bit PAE: it > is solved by the uninlining patch (that i've queued up to before the > asm-generic/tlb.h revert/fix). > > Ingo > > -------------> > Subject: x86: uninline __pte_free_tlb() and __pmd_free_tlb() > From: Ingo Molnar <mingo@elte.hu> > > this also removes an include file dependency. >
Yes, that simplifies things a lot. J
quoted text
> Signed-off-by: Ingo Molnar <mingo@elte.hu> > --- > arch/x86/mm/pgtable_32.c | 19 +++++++++++++++++++ > include/asm-x86/pgalloc_32.h | 19 ++----------------- > 2 files changed, 21 insertions(+), 17 deletions(-) > > Index: linux/arch/x86/mm/pgtable_32.c > =================================================================== > --- linux.orig/arch/x86/mm/pgtable_32.c > +++ linux/arch/x86/mm/pgtable_32.c > @@ -376,3 +376,22 @@ void check_pgt_cache(void) > { > quicklist_trim(0, pgd_dtor, 25, 16); > } > + > +void __pte_free_tlb(struct mmu_gather *tlb, struct page *pte) > +{ > + paravirt_release_pt(page_to_pfn(pte)); > + tlb_remove_page(tlb, pte); > +} > + > +void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd) > +{ > + /* This is called just after the pmd has been detached from > + the pgd, which requires a full tlb flush to be recognized > + by the CPU. Rather than incurring multiple tlb flushes > + while the address space is being pulled down, make the tlb > + gathering machinery do a full flush when we're done. */ > + tlb->fullmm = 1; > + > + paravirt_release_pd(__pa(pmd) >> PAGE_SHIFT); > + tlb_remove_page(tlb, virt_to_page(pmd)); > +} > Index: linux/include/asm-x86/pgalloc_32.h > =================================================================== > --- linux.orig/include/asm-x86/pgalloc_32.h > +++ linux/include/asm-x86/pgalloc_32.h > @@ -51,11 +51,7 @@ static inline void pte_free(struct page > } > > > -static inline void __pte_free_tlb(struct mmu_gather *tlb, struct page *pte) > -{ > - paravirt_release_pt(page_to_pfn(pte)); > - tlb_remove_page(tlb, pte); > -} > +extern void __pte_free_tlb(struct mmu_gather *tlb, struct page *pte); > > #ifdef CONFIG_X86_PAE > /* > @@ -72,18 +68,7 @@ static inline void pmd_free(pmd_t *pmd) > free_page((unsigned long)pmd); > } > > -static inline void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd) > -{ > - /* This is called just after the pmd has been detached from > - the pgd, which requires a full tlb flush to be recognized > - by the CPU. Rather than incurring multiple tlb flushes > - while the address space is being pulled down, make the tlb > - gathering machinery do a full flush when we're done. */ > - tlb->fullmm = 1; > - > - paravirt_release_pd(__pa(pmd) >> PAGE_SHIFT); > - tlb_remove_page(tlb, virt_to_page(pmd)); > -} > +extern void __pmd_free_tlb(struct mmu_gather *tlb, pmd_t *pmd); > > static inline void pud_populate(struct mm_struct *mm, pud_t *pudp, pmd_t *pmd) > { >
--
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:
[git pull] x86 arch updates for v2.6.25
, Ingo Molnar
, (Tue Jan 29, 6:15 pm)
x86 arch updates also broke s390
, Adrian Bunk
, (Wed Jan 30, 5:33 pm)
Re: x86 arch updates also broke s390
, Martin Schwidefsky
, (Thu Jan 31, 2:34 am)
Re: x86 arch updates also broke s390
, Ingo Molnar
, (Thu Jan 31, 3:24 am)
Re: x86 arch updates also broke s390
, Nick Piggin
, (Thu Jan 31, 5:37 am)
Re: [git pull] x86 arch updates for v2.6.25
, Adrian Bunk
, (Thu Jan 31, 8:57 am)
Re: [git pull] x86 arch updates for v2.6.25
, Ingo Molnar
, (Thu Jan 31, 9:00 am)
Re: [git pull] x86 arch updates for v2.6.25
, Ingo Molnar
, (Thu Jan 31, 9:04 am)
Re: [git pull] x86 arch updates for v2.6.25
, Adrian Bunk
, (Thu Jan 31, 9:12 am)
Re: [git pull] x86 arch updates for v2.6.25
, Ingo Molnar
, (Thu Jan 31, 9:15 am)
Re: [git pull] x86 arch updates for v2.6.25
, WANG Cong
, (Thu Jan 31, 9:21 am)
Re: [git pull] x86 arch updates for v2.6.25
, Adrian Bunk
, (Thu Jan 31, 9:24 am)
sparc compile error caused by x86 arch updates
, Adrian Bunk
, (Thu Jan 31, 9:29 am)
Re: [git pull] x86 arch updates for v2.6.25
, Ingo Molnar
, (Thu Jan 31, 9:46 am)
Re: sparc compile error caused by x86 arch updates
, Jeremy Fitzhardinge
, (Thu Jan 31, 9:50 am)
Re: [git pull] x86 arch updates for v2.6.25
, Jeremy Fitzhardinge
, (Thu Jan 31, 9:52 am)
Re: sparc compile error caused by x86 arch updates
, Ingo Molnar
, (Thu Jan 31, 10:43 am)
Re: sparc compile error caused by x86 arch updates
, Jeremy Fitzhardinge
, (Thu Jan 31, 10:55 am)
Re: sparc compile error caused by x86 arch updates
, Adrian Bunk
, (Thu Jan 31, 11:21 am)
Re: sparc compile error caused by x86 arch updates
, Ingo Molnar
, (Thu Jan 31, 11:38 am)
Re: x86 arch updates also broke s390
, Ingo Molnar
, (Fri Feb 1, 2:48 am)
Re: x86 arch updates also broke s390
, Ingo Molnar
, (Fri Feb 1, 2:52 am)
Re: x86 arch updates also broke s390
, Martin Schwidefsky
, (Fri Feb 1, 2:54 am)
Re: x86 arch updates also broke s390
, Ingo Molnar
, (Fri Feb 1, 3:02 am)
Re: [git pull] x86 arch updates for v2.6.25
, Maxim Levitsky
, (Mon Feb 4, 7:36 pm)
Re: [git pull] x86 arch updates for v2.6.25
, Linus Torvalds
, (Mon Feb 4, 8:27 pm)
Re: [git pull] x86 arch updates for v2.6.25
, Phil Oester
, (Mon Feb 4, 9:11 pm)
Re: [git pull] x86 arch updates for v2.6.25
, Andrew Morton
, (Mon Feb 4, 9:54 pm)
Re: [git pull] x86 arch updates for v2.6.25
, John Stoffel
, (Tue Feb 5, 10:45 am)
Re: [git pull] x86 arch updates for v2.6.25
, H. Peter Anvin
, (Tue Feb 5, 10:52 am)
Re: [git pull] x86 arch updates for v2.6.25
, Jan Kiszka
, (Wed Feb 6, 5:08 am)
Re: [git pull] x86 arch updates for v2.6.25
, Daniel Phillips
, (Thu Feb 7, 12:20 pm)
Re: [git pull] x86 arch updates for v2.6.25
, Daniel Phillips
, (Thu Feb 7, 1:00 pm)
Re: [git pull] x86 arch updates for v2.6.25
, Christoph Hellwig
, (Thu Feb 7, 9:48 pm)
Re: [git pull] x86 arch updates for v2.6.25
, Jan Kiszka
, (Fri Feb 8, 2:51 am)
Re: [git pull] x86 arch updates for v2.6.25
, Andi Kleen
, (Fri Feb 8, 10:00 am)
Re: [git pull] x86 arch updates for v2.6.25
, Jan Kiszka
, (Fri Feb 8, 10:48 am)
Re: [git pull] x86 arch updates for v2.6.25
, Bernhard Kaindl
, (Fri Feb 8, 11:24 am)
Re: [git pull] x86 arch updates for v2.6.25
, Andi Kleen
, (Fri Feb 8, 11:57 am)
remote DMA via FireWire (was Re: [git pull] x86 arch updat ...
, Stefan Richter
, (Fri Feb 8, 12:38 pm)
[RFC][PATCH] KGDB: remove kgdb-own fault handling (was: Re ...
, Jan Kiszka
, (Fri Feb 8, 2:28 pm)
Re: [RFC][PATCH] KGDB: remove kgdb-own fault handling (was ...
, Linus Torvalds
, (Fri Feb 8, 2:58 pm)
Re: [RFC][PATCH] KGDB: remove kgdb-own fault handling
, Jason Wessel
, (Fri Feb 8, 3:16 pm)
Re: [git pull] x86 arch updates for v2.6.25
, Amit Shah
, (Sat Feb 9, 7:11 am)
Re: [git pull] x86 arch updates for v2.6.25
, Jiri Kosina
, (Sun Feb 10, 5:30 am)
Re: [git pull] x86 arch updates for v2.6.25
, Amit Shah
, (Tue Feb 12, 12:16 am)
Re: [git pull] x86 arch updates for v2.6.25
, Ingo Molnar
, (Wed Feb 13, 1:56 am)
Re: [git pull] x86 arch updates for v2.6.25
, Amit Shah
, (Wed Feb 13, 3:19 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mel Gorman
Re: [PATCH 1/4] vmstat: remove zone->lock from walk_zones_in_node
Guenter Roeck
Re: [lm-sensors] Location for thermal drivers
David Woodhouse
Re: RFC: Moving firmware blobs out of the kernel.
Siddha, Suresh B
Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU k...
Peter Zijlstra
Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)
git-commits-head
:
Linux Kernel Mailing List
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
Linux Kernel Mailing List
USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS
Linux Kernel Mailing List
lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param)
Linux Kernel Mailing List
[Bluetooth] Initiate authentication during connection establishment
Linux Kernel Mailing List
[POWERPC] 4xx: Add ppc40x_defconfig
linux-netdev
:
MERCEDES
Your mail id has won 950,000.00 in the MERCEDES Benz Online Promo.for claims send:
David Miller
Re: [PATCH] xen/netfront: do not mark packets of length < MSS as GSO
David Miller
Re: skb_segment() questions
Shan Wei
[RFC PATCH net-next 2/5]IPv6:netfilter: Send an ICMPv6 "Fragment Reassembly Timeou...
Stanislaw Gruszka
[PATCH 1/4] bnx2x: use smp_mb() to keep ordering of read write operations
git
:
Nicolas Sebrecht
git-svn died of signal 11 (was "3 failures on test t9100 (svn)")
Junio C Hamano
Re: [PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
Martin Langhoff
Re: [PATCH] GIT commit statistics.
Alexandre Julliard
[PATCH] gitweb: Put back shortlog instead of graphiclog in the project list.
Josh Triplett
[PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
openbsd-misc
:
Taisto Qvist XX
Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics wi...
Nico Meijer
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Andreas Bihlmaier
Re: jetway board sensors (Fintek F71805F)
admin
Drive a 2009 car from R799p/m
Antti Harri
Re: how to create a sha256 hash
Colocation donated by:
Syndicate