Skip to content

Commit 0ecfacb

Browse files
juerghIngo Molnar
authored andcommitted
x86/Kconfig: Fix indentation of arch/x86/Kconfig.debug
The convention for indentation seems to be a single tab. Help text is further indented by an additional two whitespaces. Fix the lines that violate these rules. Signed-off-by: Juerg Haefliger <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 758cd94 commit 0ecfacb

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

arch/x86/Kconfig.debug

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,19 @@ config DEBUG_TLBFLUSH
7373
bool "Set upper limit of TLB entries to flush one-by-one"
7474
depends on DEBUG_KERNEL
7575
help
76+
X86-only for now.
7677

77-
X86-only for now.
78+
This option allows the user to tune the amount of TLB entries the
79+
kernel flushes one-by-one instead of doing a full TLB flush. In
80+
certain situations, the former is cheaper. This is controlled by the
81+
tlb_flushall_shift knob under /sys/kernel/debug/x86. If you set it
82+
to -1, the code flushes the whole TLB unconditionally. Otherwise,
83+
for positive values of it, the kernel will use single TLB entry
84+
invalidating instructions according to the following formula:
7885

79-
This option allows the user to tune the amount of TLB entries the
80-
kernel flushes one-by-one instead of doing a full TLB flush. In
81-
certain situations, the former is cheaper. This is controlled by the
82-
tlb_flushall_shift knob under /sys/kernel/debug/x86. If you set it
83-
to -1, the code flushes the whole TLB unconditionally. Otherwise,
84-
for positive values of it, the kernel will use single TLB entry
85-
invalidating instructions according to the following formula:
86+
flush_entries <= active_tlb_entries / 2^tlb_flushall_shift
8687

87-
flush_entries <= active_tlb_entries / 2^tlb_flushall_shift
88-
89-
If in doubt, say "N".
88+
If in doubt, say "N".
9089

9190
config IOMMU_DEBUG
9291
bool "Enable IOMMU debugging"
@@ -119,10 +118,10 @@ config X86_DECODER_SELFTEST
119118
depends on DEBUG_KERNEL && INSTRUCTION_DECODER
120119
depends on !COMPILE_TEST
121120
help
122-
Perform x86 instruction decoder selftests at build time.
123-
This option is useful for checking the sanity of x86 instruction
124-
decoder code.
125-
If unsure, say "N".
121+
Perform x86 instruction decoder selftests at build time.
122+
This option is useful for checking the sanity of x86 instruction
123+
decoder code.
124+
If unsure, say "N".
126125

127126
choice
128127
prompt "IO delay type"

0 commit comments

Comments
 (0)