Re: [PATCH] Documentation: fix vm/slub.rst warning

From: Jonathan Corbet
Date: Mon Feb 11 2019 - 10:27:12 EST


On Sun, 10 Feb 2019 22:34:11 -0800
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:

> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Fix markup warning by quoting the '*' character with a backslash.
>
> Documentation/vm/slub.rst:71: WARNING: Inline emphasis start-string without end-string.
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Christoph Lameter <cl@xxxxxxxxx>
> Cc: Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx>
> ---
> Documentation/vm/slub.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- lnx-50-rc6.orig/Documentation/vm/slub.rst
> +++ lnx-50-rc6/Documentation/vm/slub.rst
> @@ -68,7 +68,7 @@ end of the slab name, in order to cover
> example, here's how you can poison the dentry cache as well as all kmalloc
> slabs:
>
> - slub_debug=P,kmalloc-*,dentry
> + slub_debug=P,kmalloc-\*,dentry
>
> Red zoning and tracking may realign the slab. We can just apply sanity checks
> to the dentry cache with::

The better fix here is to make that a literal block ("slabs::"). Happily
for all of us, Tobin already did that in 11ede50059d0.

Thanks,

jon