diff options
| author | Peter Zijlstra <[email protected]> | 2021-05-25 07:25:19 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-06-01 14:00:08 +0000 |
| commit | ec6aba3d2be1ed75b3f4c894bb64a36d40db1f55 (patch) | |
| tree | 0fd56814090efcd59ce2f2b29906043853764b23 /fs/ext4/fast_commit.c | |
| parent | uprobes: Update uprobe_write_opcode() kernel-doc comment (diff) | |
| download | kernel-ec6aba3d2be1ed75b3f4c894bb64a36d40db1f55.tar.gz kernel-ec6aba3d2be1ed75b3f4c894bb64a36d40db1f55.zip | |
kprobes: Remove kprobe::fault_handler
The reason for kprobe::fault_handler(), as given by their comment:
* We come here because instructions in the pre/post
* handler caused the page_fault, this could happen
* if handler tries to access user space by
* copy_from_user(), get_user() etc. Let the
* user-specified handler try to fix it first.
Is just plain bad. Those other handlers are ran from non-preemptible
context and had better use _nofault() functions. Also, there is no
upstream usage of this.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
