Staging
v0.5.1
https://github.com/torvalds/linux
Revision faea62346444ce5b1dba8fb5291d95b676522c42 authored by Atsushi Nemoto on 16 April 2007, 14:19:44 UTC, committed by Ralf Baechle on 20 April 2007, 13:58:37 UTC
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@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 5323180
History
Tip revision: faea62346444ce5b1dba8fb5291d95b676522c42 authored by Atsushi Nemoto on 16 April 2007, 14:19:44 UTC
[MIPS] Retry {save,restore}_fp_context if failed in atomic context.
Tip revision: faea623
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.9 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 82.3 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top