/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_opt_types.tc | 19 DEFAULT=$(cat /proc/sys/debug/kprobes-optimization) 20 echo 1 > /proc/sys/debug/kprobes-optimization 29 echo "$DEFAULT" > /proc/sys/debug/kprobes-optimization 33 echo "$DEFAULT" > /proc/sys/debug/kprobes-optimization
|
/linux/Documentation/trace/ |
H A D | kprobes.rst | 54 probes work and how jump optimization works. They explain certain 169 How Does Jump Optimization Work? 181 When a probe is registered, before attempting this optimization, 221 Pre-optimization 242 Optimization subsection 251 of kprobe optimization supports only kernels with CONFIG_PREEMPT=n [4]_. 262 the optimization is complete, the kprobe is just dequeued from the 263 optimized list. If the optimization has been done, the jump is 273 .. [4] This optimization-safety checking may be replaced with the 278 The jump optimization changes the kprobe's pre_handler behavior. [all …]
|
/linux/Documentation/process/ |
H A D | volatile-considered-harmful.rst | 15 to suppress optimization, which is almost never what one really wants to 19 all optimization-related problems in a more efficient way. 23 unwanted optimization. If they are being used properly, there will be no 42 forget anything it knows. There will be no optimization problems with 59 optimization, so, once again, volatile is unnecessary.
|
/linux/tools/perf/pmu-events/arch/x86/amdzen2/ |
H A D | floating-point.json | 71 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.", 77 …optimization (have Z-bit either set or pass). This is a dispatch based speculative event, and is u… 83 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.", 89 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
|
/linux/arch/x86/ |
H A D | Kconfig.cpu | 2 # Put here option for CPU selection and depending optimization 103 copy optimization, compiles the kernel with optimization flags 164 some extended instructions, and passes appropriate optimization 172 some extended instructions, and passes appropriate optimization 180 optimization flags to GCC. 187 like a 586 with TSC, and sets some GCC optimization flags (like a 346 # P6_NOPs are a relatively minor optimization that require a family >= 354 # the right-hand clause are the cores that benefit from this optimization.
|
/linux/tools/perf/pmu-events/arch/x86/amdzen3/ |
H A D | floating-point.json | 70 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.", 76 …optimization (have Z-bit either set or pass). This is a dispatch based speculative event, and is u… 82 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.", 88 …ful for measuring the effectiveness of the Move elimination and Scalar code optimization schemes.",
|
/linux/tools/power/acpi/ |
H A D | Makefile.config | 61 # use '-Os' optimization if available, else use -O2 62 OPTIMIZATION := $(call cc-supports,-Os,-O2) 87 CFLAGS += $(OPTIMIZATION) -fomit-frame-pointer
|
/linux/arch/powerpc/purgatory/ |
H A D | Makefile | 5 # When profile-guided optimization is enabled, llvm emits two different 7 # optimization flags.
|
/linux/include/drm/ |
H A D | drm_cache.h | 55 * only, but permits an optimization to be enabled in some cases, where in drm_arch_can_wc_memory() 63 * case. However, on ARM and arm64, enabling this optimization on a in drm_arch_can_wc_memory() 67 * optimization entirely for ARM and arm64. in drm_arch_can_wc_memory()
|
/linux/tools/perf/pmu-events/arch/x86/amdzen1/ |
H A D | floating-point.json | 172 …r measuring the effectiveness of the Move elimination and Scalar code optimization schemes. Number… 178 …"BriefDescription": "Number of Ops that are candidates for optimization (have Z-bit either set or … 179 …of the Move elimination and Scalar code optimization schemes. Number of Ops that are candidates fo… 186 …r measuring the effectiveness of the Move elimination and Scalar code optimization schemes. Number… 193 …r measuring the effectiveness of the Move elimination and Scalar code optimization schemes. Number…
|
/linux/scripts/ |
H A D | Makefile.clang | 31 # certain optimization flags it knows it has not implemented. 35 CLANG_FLAGS += -Werror=ignored-optimization-argument
|
/linux/arch/alpha/include/asm/ |
H A D | elf.h | 20 #define R_ALPHA_LITERAL 4 /* GP relative 16 bit w/optimization */ 21 #define R_ALPHA_LITUSE 5 /* Optimization hint for LITERAL */ 130 specific libraries for optimization. This is more specific in
|
/linux/arch/x86/kernel/fpu/ |
H A D | xstate.h | 109 * supports modified optimization which is not supported by XSAVE. 226 * This optimization is user-visible. Only use for states where 229 * Users of buffers produced with this optimization must check XSTATE_BV 249 * We don't use modified optimization because xrstor/xrstors might track
|
/linux/Documentation/staging/ |
H A D | static-keys.rst | 91 optimization. 100 In order to make use of this optimization you must first define a key:: 184 to take advantage of this optimization. If there is no architecture support, we 248 Without the jump label optimization it looks like:: 327 this optimization is about reducing the number of branches. In addition, we've
|
/linux/arch/x86/purgatory/ |
H A D | Makefile | 16 # When profile-guided optimization is enabled, llvm emits two different 18 # optimization flags.
|
/linux/lib/crypto/mpi/ |
H A D | mpih-div.c | 73 /* Possible optimization: in mpihelp_mod_1() 132 /* Possible optimization: in mpihelp_mod_1() 350 /* Possible optimization: We already have (q * n0) and (1 * n1) in mpihelp_divrem() 422 /* Possible optimization: in mpihelp_divmod_1() 480 /* Possible optimization: in mpihelp_divmod_1()
|
/linux/arch/riscv/purgatory/ |
H A D | Makefile | 39 # When profile-guided optimization is enabled, llvm emits two different 41 # optimization flags.
|
/linux/crypto/ |
H A D | lrw.c | 36 * used 4k optimization tables or no optimization at all. In the 93 /* initialize optimization table */ in lrw_setkey() 179 /* T <- I*Key2, using the optimization in lrw_xor_tweak()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/ |
H A D | dml2_pmo_dcn3.c | 109 // If the stream of this plane needs ODM combine, no further optimization can be done. in optimize_dcc_mcache_no_odm() 293 * vmin optimization is required to be seamlessly switched off in pmo_dcn3_init_for_vmin() 300 * allow vmin optimization if the stream's base configuration in pmo_dcn3_init_for_vmin() 468 // Optimization loop in pmo_dcn3_optimize_dcc_mcache() 473 // The optimization logic depends on whether ODM combine is enabled, and the stream count. in pmo_dcn3_optimize_dcc_mcache() 486 // Optimization for streams with > 1 ODM combine factor is only supported for single display. in pmo_dcn3_optimize_dcc_mcache()
|
/linux/arch/powerpc/math-emu/ |
H A D | udivmodti4.c | 83 This special case is necessary, not an optimization. in _fp_udivmodti4() 140 This special case is necessary, not an optimization. */ in _fp_udivmodti4()
|
/linux/lib/raid6/ |
H A D | s390vx.uc | 86 z0 = stop; /* P/Q right side optimization */ 106 /* P/Q left side optimization */
|
H A D | sse2.c | 94 z0 = stop; /* P/Q right side optimization */ in raid6_sse21_xor_syndrome() 117 /* P/Q left side optimization */ in raid6_sse21_xor_syndrome() 205 z0 = stop; /* P/Q right side optimization */ in raid6_sse22_xor_syndrome() 239 /* P/Q left side optimization */ in raid6_sse22_xor_syndrome() 371 z0 = stop; /* P/Q right side optimization */ in raid6_sse24_xor_syndrome() 431 /* P/Q left side optimization */ in raid6_sse24_xor_syndrome()
|
H A D | int.uc | 112 z0 = stop; /* P/Q right side optimization */ 128 /* P/Q left side optimization */
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | Makefile | 98 # when profile optimization is applied. gen-hyprel does not support SHT_REL and 99 # causes a build failure. Remove profile optimization flags.
|
/linux/kernel/ |
H A D | kprobes.c | 447 /* Return true if the kprobe is ready for optimization. */ 510 /* Optimization staging list, protected by 'kprobe_mutex' */ 527 * The optimization/unoptimization refers 'online_cpus' via in do_optimize_kprobes() 538 /* Optimization never be done when disarmed */ in do_optimize_kprobes() 644 /* Wait for completing optimization and unoptimization */ 680 /* Check if the kprobe is disabled or not ready for optimization. */ in optimize_kprobe() 793 /* Dequeue from the (un)optimization queue */ in kill_optimized_kprobe() 858 /* For preparing optimization, jump_label_text_reserved() is called. */ in try_to_optimize_kprobe() 891 /* If optimization is already allowed, just return. */ in optimize_all_kprobes() 904 pr_info("kprobe jump-optimization is enabled. All kprobes are optimized if possible.\n"); in optimize_all_kprobes() [all …]
|