Re: [PATCH] x86: fix app crashes after SMP resume

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hugh Dickins
Date: Tuesday, May 13, 2008 - 8:12 am

On Tue, 13 May 2008, Glauber Costa wrote:

You're right, something like that (but avoiding the __flush_tlb_all
on x86_64) would have been nicer; never mind, now it's going forward,
I'll leave it as is.

A bigger improvement would be to cut out all that swapper_pg_dir
to and fro, needing a global TLB flush on all cpus for each cpu.
Just have an alternate pg_dir (often already there as swsusp_pg_dir)
to point cr3 at for the bootup (or maybe it needs to be vice versa).

But that's harder to get right, and involves wider changes and much
more testing than I could afford for the bugfix.  Plus I expect it's
on your radar if not already done.

Hugh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: fix app crashes after SMP resume, Hugh Dickins, (Tue May 13, 6:26 am)
Re: [PATCH] x86: fix app crashes after SMP resume, Ingo Molnar, (Tue May 13, 7:02 am)
Re: [PATCH] x86: fix app crashes after SMP resume, Glauber Costa, (Tue May 13, 7:03 am)
Re: [PATCH] x86: fix app crashes after SMP resume, Hugh Dickins, (Tue May 13, 8:12 am)
Re: [PATCH] x86: fix app crashes after SMP resume, Carlos R. Mafra, (Tue May 13, 10:24 am)
Re: [PATCH] x86: fix app crashes after SMP resume, Hugh Dickins, (Tue May 13, 10:47 am)
Re: [PATCH] x86: fix app crashes after SMP resume, Theodore Tso, (Wed May 14, 7:03 am)
Re: [PATCH] x86: fix app crashes after SMP resume, Pavel Machek, (Wed May 21, 4:16 am)