2014-02-18 22:08:33

by Luiz Capitulino

[permalink] [raw]
Subject: [PATCH] fs/proc/meminfo: meminfo_proc_show(): fix typo in comment

It should read "reclaimable slab" and not "reclaimable swap".

Signed-off-by: Luiz Capitulino <[email protected]>
---
fs/proc/meminfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c
index 136e548..7445af0 100644
--- a/fs/proc/meminfo.c
+++ b/fs/proc/meminfo.c
@@ -73,7 +73,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
available += pagecache;

/*
- * Part of the reclaimable swap consists of items that are in use,
+ * Part of the reclaimable slab consists of items that are in use,
* and cannot be freed. Cap this estimate at the low watermark.
*/
available += global_page_state(NR_SLAB_RECLAIMABLE) -
--
1.8.1.4


2014-02-18 22:17:55

by Rik van Riel

[permalink] [raw]
Subject: Re: [PATCH] fs/proc/meminfo: meminfo_proc_show(): fix typo in comment

On 02/18/2014 05:00 PM, Luiz Capitulino wrote:
> It should read "reclaimable slab" and not "reclaimable swap".

Doh! My bad. Thanks for fixing it, Luiz!

> Signed-off-by: Luiz Capitulino <[email protected]>

Reviewed-by: Rik van Riel <[email protected]>

--
All rights reversed

2014-02-21 12:35:07

by Rafael Aquini

[permalink] [raw]
Subject: Re: [PATCH] fs/proc/meminfo: meminfo_proc_show(): fix typo in comment

On Tue, Feb 18, 2014 at 05:00:27PM -0500, Luiz Capitulino wrote:
> It should read "reclaimable slab" and not "reclaimable swap".
>
> Signed-off-by: Luiz Capitulino <[email protected]>
> ---
> fs/proc/meminfo.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/proc/meminfo.c b/fs/proc/meminfo.c
> index 136e548..7445af0 100644
> --- a/fs/proc/meminfo.c
> +++ b/fs/proc/meminfo.c
> @@ -73,7 +73,7 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
> available += pagecache;
>
> /*
> - * Part of the reclaimable swap consists of items that are in use,
> + * Part of the reclaimable slab consists of items that are in use,
> * and cannot be freed. Cap this estimate at the low watermark.
> */
> available += global_page_state(NR_SLAB_RECLAIMABLE) -
> --
> 1.8.1.4

Acked-by: Rafael Aquini <[email protected]>

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