Peter Zijlstra ec6aba3d2b 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) <peterz@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Link: https://lore.kernel.org/r/20210525073213.561116662@infradead.org
2021-06-01 16:00:08 +02:00
..
2021-04-07 16:11:05 +02:00
2021-04-06 15:12:58 +02:00
2021-03-10 15:18:40 +01:00
2018-10-31 08:54:16 -07:00
2020-05-22 09:09:01 +02:00
2021-02-15 12:23:54 +01:00
2020-05-22 09:09:01 +02:00
2021-04-06 15:12:58 +02:00
2020-05-22 09:09:01 +02:00
2021-02-21 13:18:26 -08:00
2021-04-06 15:12:58 +02:00
2021-03-06 08:43:39 +01:00
2020-05-15 14:53:19 +02:00
2020-05-22 09:13:32 +02:00
2020-07-26 10:18:35 +02:00
2021-04-07 16:11:05 +02:00
2021-01-27 21:49:16 +01:00
2020-05-07 11:55:47 +02:00