dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/s390/lib
Peter Zijlstra a866374aec [PATCH] mm: pagefault_{disable,enable}()
Introduce pagefault_{disable,enable}() and use these where previously we did
manual preempt increments/decrements to make the pagefault handler do the
atomic thing.

Currently they still rely on the increased preempt count, but do not rely on
the disabled preemption, this might go away in the future.

(NOTE: the extra barrier() in pagefault_disable might fix some holes on
       machines which have too many registers for their own good)

[heiko.carstens@de.ibm.com: s390 fix]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Nick Piggin <npiggin@suse.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:21 -08:00
..
Makefile [S390] Add dynamic size check for usercopy functions. 2006-12-04 15:40:45 +01:00
delay.c [S390] Inline assembly cleanup. 2006-09-28 16:56:43 +02:00
div64.c [S390] __div64_32 for 31 bit. 2006-09-28 16:55:39 +02:00
spinlock.c [PATCH] Directed yield: direct yield of spinlocks for s390. 2006-10-01 00:39:22 -07:00
string.c [S390] Fix sparse warnings. 2006-07-12 16:41:55 +02:00
uaccess_mvcos.c [S390] Add dynamic size check for usercopy functions. 2006-12-04 15:40:45 +01:00
uaccess_pt.c [S390] Add dynamic size check for usercopy functions. 2006-12-04 15:40:45 +01:00
uaccess_std.c [PATCH] mm: pagefault_{disable,enable}() 2006-12-07 08:39:21 -08:00