Re: [PATCH] Retry {save,restore}_fp_context if failed in atomic context.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 16, 2007 at 11:32:35PM +0900, Atsushi Nemoto wrote:

> > The save_fp_context()/restore_fp_context() might sleep on accessing
> > user stack and therefore might lose FPU ownership in middle of them.
> > 
> > If these function failed due to "in_atomic" test in do_page_fault,
> > touch the sigcontext area in non-atomic context and retry these
> > save/restore operation.
> > 
> > This is a replacement of a (broken) fix which was titled "Allow CpU
> > exception in kernel partially".
> > 
> > Signed-off-by: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
> 
> And this is for 2.6.20-stable.

Both applied, also to older -stable branches except 2.6.16.  In case of
2.6.16 it would have been more time consuming than justifyable and since
the bug this patch fixes is comparable to what we had before starting the
whole surgery I have no problem to leave 2.6.16 as it is.  Anybody still
using 2.6.16 should upgrade anyway ...

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux