Re: [PATCH] Documentation/kernel-parameters: update KMG units

From: Jonathan Corbet
Date: Sun Dec 27 2015 - 05:58:34 EST


On Wed, 23 Dec 2015 18:38:16 -0600
Robert Elliott <elliott@xxxxxxx> wrote:

> Since commit e004f3c7780d ("lib/cmdline.c: add size unit t/p/e to
> memparse") expanded memparse() to support T, P, and E units in addition
> to K, M, and G, all the kernel parameters that use that function became
> capable of more than [KMG] mentioned in kernel-parameters.txt.
>
> Expand the introduction to the units and change all existing [KMG]
> descriptions to [KMGTPE]. cma only had [MG]; reservelow only had [K].
>
> Add [KMGTPE] for hugepagesz and memory_corruption_check_size, which also
> use memparse().
>
> Update two source code files with comments mentioning [KMG].

This one, too, goes outside of the docs tree, but it seems obvious enough
and I'll take the liberty of applying it. Hopefully Andrew and company
won't get too upset if I touch page_alloc.c...

Thanks,

jon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/