* [PATCH] mm: Fix Kconfig indentation
@ 2019-11-20 13:37 Krzysztof Kozlowski
2019-11-20 14:36 ` David Hildenbrand
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2019-11-20 13:37 UTC (permalink / raw)
To: linux-kernel; +Cc: Krzysztof Kozlowski, Andrew Morton, linux-mm
Adjust indentation from spaces to tab (+optional two spaces) as in
coding style with command like:
$ sed -e 's/^ /\t/' -i */Kconfig
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
mm/Kconfig | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/mm/Kconfig b/mm/Kconfig
index e38ff1d5968d..27b7e61e3055 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -160,9 +160,9 @@ config MEMORY_HOTPLUG_SPARSE
depends on SPARSEMEM && MEMORY_HOTPLUG
config MEMORY_HOTPLUG_DEFAULT_ONLINE
- bool "Online the newly added memory blocks by default"
- depends on MEMORY_HOTPLUG
- help
+ bool "Online the newly added memory blocks by default"
+ depends on MEMORY_HOTPLUG
+ help
This option sets the default policy setting for memory hotplug
onlining policy (/sys/devices/system/memory/auto_online_blocks) which
determines what happens to newly added memory regions. Policy setting
@@ -227,14 +227,14 @@ config COMPACTION
select MIGRATION
depends on MMU
help
- Compaction is the only memory management component to form
- high order (larger physically contiguous) memory blocks
- reliably. The page allocator relies on compaction heavily and
- the lack of the feature can lead to unexpected OOM killer
- invocations for high order memory requests. You shouldn't
- disable this option unless there really is a strong reason for
- it and then we would be really interested to hear about that at
- linux-mm@kvack.org.
+ Compaction is the only memory management component to form
+ high order (larger physically contiguous) memory blocks
+ reliably. The page allocator relies on compaction heavily and
+ the lack of the feature can lead to unexpected OOM killer
+ invocations for high order memory requests. You shouldn't
+ disable this option unless there really is a strong reason for
+ it and then we would be really interested to hear about that at
+ linux-mm@kvack.org.
#
# support for page migration
@@ -302,10 +302,10 @@ config KSM
root has set /sys/kernel/mm/ksm/run to 1 (if CONFIG_SYSFS is set).
config DEFAULT_MMAP_MIN_ADDR
- int "Low address space to protect from user allocation"
+ int "Low address space to protect from user allocation"
depends on MMU
- default 4096
- help
+ default 4096
+ help
This is the portion of low virtual memory which should be protected
from userspace allocation. Keeping a user from writing to low pages
can help reduce the impact of kernel NULL pointer bugs.
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: Fix Kconfig indentation
2019-11-20 13:37 [PATCH] mm: Fix Kconfig indentation Krzysztof Kozlowski
@ 2019-11-20 14:36 ` David Hildenbrand
0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2019-11-20 14:36 UTC (permalink / raw)
To: Krzysztof Kozlowski, linux-kernel; +Cc: Andrew Morton, linux-mm
On 20.11.19 14:37, Krzysztof Kozlowski wrote:
> Adjust indentation from spaces to tab (+optional two spaces) as in
> coding style with command like:
> $ sed -e 's/^ /\t/' -i */Kconfig
>
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> mm/Kconfig | 28 ++++++++++++++--------------
> 1 file changed, 14 insertions(+), 14 deletions(-)
>
> diff --git a/mm/Kconfig b/mm/Kconfig
> index e38ff1d5968d..27b7e61e3055 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -160,9 +160,9 @@ config MEMORY_HOTPLUG_SPARSE
> depends on SPARSEMEM && MEMORY_HOTPLUG
>
> config MEMORY_HOTPLUG_DEFAULT_ONLINE
> - bool "Online the newly added memory blocks by default"
> - depends on MEMORY_HOTPLUG
> - help
> + bool "Online the newly added memory blocks by default"
> + depends on MEMORY_HOTPLUG
> + help
> This option sets the default policy setting for memory hotplug
> onlining policy (/sys/devices/system/memory/auto_online_blocks) which
> determines what happens to newly added memory regions. Policy setting
> @@ -227,14 +227,14 @@ config COMPACTION
> select MIGRATION
> depends on MMU
> help
> - Compaction is the only memory management component to form
> - high order (larger physically contiguous) memory blocks
> - reliably. The page allocator relies on compaction heavily and
> - the lack of the feature can lead to unexpected OOM killer
> - invocations for high order memory requests. You shouldn't
> - disable this option unless there really is a strong reason for
> - it and then we would be really interested to hear about that at
> - linux-mm@kvack.org.
> + Compaction is the only memory management component to form
> + high order (larger physically contiguous) memory blocks
> + reliably. The page allocator relies on compaction heavily and
> + the lack of the feature can lead to unexpected OOM killer
> + invocations for high order memory requests. You shouldn't
> + disable this option unless there really is a strong reason for
> + it and then we would be really interested to hear about that at
> + linux-mm@kvack.org.
>
> #
> # support for page migration
> @@ -302,10 +302,10 @@ config KSM
> root has set /sys/kernel/mm/ksm/run to 1 (if CONFIG_SYSFS is set).
>
> config DEFAULT_MMAP_MIN_ADDR
> - int "Low address space to protect from user allocation"
> + int "Low address space to protect from user allocation"
> depends on MMU
> - default 4096
> - help
> + default 4096
> + help
> This is the portion of low virtual memory which should be protected
> from userspace allocation. Keeping a user from writing to low pages
> can help reduce the impact of kernel NULL pointer bugs.
>
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-20 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 13:37 [PATCH] mm: Fix Kconfig indentation Krzysztof Kozlowski
2019-11-20 14:36 ` David Hildenbrand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).