diff options
author | Frederic Weisbecker <[email protected]> | 2009-11-16 15:42:18 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-11-16 16:09:52 +0100 |
commit | 3c93ca00eeeb774c7dd666cc7286a9e90c53e998 (patch) | |
tree | 5f89fe4a22ab1394278e3fc4e9698b0c2327a97b /tools/perf/scripts/python | |
parent | 14722485830fe6baba738b91d96f06fbd6cf7a18 (diff) |
x86: Add missing might_fault() checks to copy_{to,from}_user()
On x86-64, copy_[to|from]_user() rely on assembly routines that
never call might_fault(), making us missing various lockdep
checks.
This doesn't apply to __copy_from,to_user() that explicitly
handle these calls, neither is it a problem in x86-32 where
copy_to,from_user() rely on the "__" prefixed versions that
also call might_fault().
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
[ v2: fix module export ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions