mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
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 |
||
|---|---|---|
| .. | ||
| coresight | ||
| postprocess | ||
| boottime-trace.rst | ||
| events-kmem.rst | ||
| events-msr.rst | ||
| events-nmi.rst | ||
| events-power.rst | ||
| events.rst | ||
| ftrace-design.rst | ||
| ftrace-uses.rst | ||
| ftrace.rst | ||
| function-graph-fold.vim | ||
| histogram-design.rst | ||
| histogram.rst | ||
| hwlat_detector.rst | ||
| index.rst | ||
| intel_th.rst | ||
| kprobes.rst | ||
| kprobetrace.rst | ||
| mmiotrace.rst | ||
| ring-buffer-design.rst | ||
| stm.rst | ||
| sys-t.rst | ||
| tracepoint-analysis.rst | ||
| tracepoints.rst | ||
| uprobetracer.rst | ||