uprobes/core: Clean up, refactor and improve the code
Make the uprobes code readable to me: - improve the Kconfig text so that a mere mortal gets some idea what CONFIG_UPROBES=y is really about - do trivial renames to standardize around the uprobes_*() namespace - clean up and simplify various code flow details - separate basic blocks of functionality - line break artifact and white space related removal - use standard local varible definition blocks - use vertical spacing to make things more readable - remove unnecessary volatile - restructure comment blocks to make them more uniform and more readable in general Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Cc: Jim Keniston <jkenisto@us.ibm.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Arnaldo Carvalho de Melo <acme@infradead.org> Cc: Anton Arapov <anton@redhat.com> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Link: http://lkml.kernel.org/n/tip-ewbwhb8o6navvllsauu7k07p@git.kernel.org Signed-off-by:Ingo Molnar <mingo@elte.hu>
Showing
- arch/Kconfig 10 additions, 4 deletionsarch/Kconfig
- arch/x86/include/asm/uprobes.h 9 additions, 8 deletionsarch/x86/include/asm/uprobes.h
- arch/x86/kernel/uprobes.c 68 additions, 61 deletionsarch/x86/kernel/uprobes.c
- include/linux/uprobes.h 13 additions, 15 deletionsinclude/linux/uprobes.h
- kernel/uprobes.c 127 additions, 92 deletionskernel/uprobes.c
- mm/mmap.c 6 additions, 6 deletionsmm/mmap.c
Loading
Please register or sign in to comment