* [patch 07/12] acpi: flush TLB when pagetable changed
@ 2005-02-23 9:53 akpm-3NddpPZAyC0
[not found] ` <200502230953.j1N9rJiZ020708-bipKiLWnuIsyyg0EjBt7GtHuzzzSOjJt@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: akpm-3NddpPZAyC0 @ 2005-02-23 9:53 UTC (permalink / raw)
To: len.brown-ral2JQCrhuEAvxtiuMwx3w
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, akpm-3NddpPZAyC0,
shaohua.li-ral2JQCrhuEAvxtiuMwx3w
From: Li Shaohua <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Possibly it doesn't change anything here (it's low mem), but it's better to
fix it.
Signed-off-by: Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>
---
25-akpm/arch/i386/kernel/acpi/sleep.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -puN arch/i386/kernel/acpi/sleep.c~acpi-flush-tlb-when-pagetable-changed arch/i386/kernel/acpi/sleep.c
--- 25/arch/i386/kernel/acpi/sleep.c~acpi-flush-tlb-when-pagetable-changed 2005-02-23 01:48:04.000000000 -0800
+++ 25-akpm/arch/i386/kernel/acpi/sleep.c 2005-02-23 01:48:04.000000000 -0800
@@ -8,7 +8,7 @@
#include <linux/acpi.h>
#include <linux/bootmem.h>
#include <asm/smp.h>
-
+#include <asm/tlbflush.h>
/* address in low memory of the wakeup routine. */
unsigned long acpi_wakeup_address = 0;
@@ -27,6 +27,7 @@ static void init_low_mapping(pgd_t *pgd,
set_pgd(pgd, *(pgd+USER_PTRS_PER_PGD));
pgd_ofs++, pgd++;
}
+ flush_tlb_all();
}
/**
_
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 07/12] acpi: flush TLB when pagetable changed
[not found] ` <200502230953.j1N9rJiZ020708-bipKiLWnuIsyyg0EjBt7GtHuzzzSOjJt@public.gmane.org>
@ 2005-03-02 18:59 ` Len Brown
0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2005-03-02 18:59 UTC (permalink / raw)
To: Andrew Morton; +Cc: ACPI Developers, Shaohua Li
Applied.
thanks,
-Len
On Wed, 2005-02-23 at 04:53, akpm-3NddpPZAyC0@public.gmane.org wrote:
> From: Li Shaohua <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
>
> Possibly it doesn't change anything here (it's low mem), but it's
> better to
> fix it.
>
> Signed-off-by: Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>
> ---
>
> 25-akpm/arch/i386/kernel/acpi/sleep.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletion(-)
>
> diff -puN
> arch/i386/kernel/acpi/sleep.c~acpi-flush-tlb-when-pagetable-changed
> arch/i386/kernel/acpi/sleep.c
> ---
> 25/arch/i386/kernel/acpi/sleep.c~acpi-flush-tlb-when-pagetable-changed 2005-02-23 01:48:04.000000000 -0800
> +++ 25-akpm/arch/i386/kernel/acpi/sleep.c 2005-02-23
> 01:48:04.000000000 -0800
> @@ -8,7 +8,7 @@
> #include <linux/acpi.h>
> #include <linux/bootmem.h>
> #include <asm/smp.h>
> -
> +#include <asm/tlbflush.h>
>
> /* address in low memory of the wakeup routine. */
> unsigned long acpi_wakeup_address = 0;
> @@ -27,6 +27,7 @@ static void init_low_mapping(pgd_t *pgd,
> set_pgd(pgd, *(pgd+USER_PTRS_PER_PGD));
> pgd_ofs++, pgd++;
> }
> + flush_tlb_all();
> }
>
> /**
> _
>
>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-02 18:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-23 9:53 [patch 07/12] acpi: flush TLB when pagetable changed akpm-3NddpPZAyC0
[not found] ` <200502230953.j1N9rJiZ020708-bipKiLWnuIsyyg0EjBt7GtHuzzzSOjJt@public.gmane.org>
2005-03-02 18:59 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox