* [PATCH] mm/slab.c: Update outdated kmem_list3 in a comment
@ 2020-07-22 3:33 Xiao Yang
2020-07-30 13:31 ` Xiao Yang
2020-07-30 16:36 ` Pekka Enberg
0 siblings, 2 replies; 3+ messages in thread
From: Xiao Yang @ 2020-07-22 3:33 UTC (permalink / raw)
To: cl, penberg; +Cc: linux-mm, Xiao Yang
kmem_list3 has been renamed to kmem_cache_node long long
ago so update it.
References:
'6744f087ba2a ("slab: Common name for the per node structures")'
'ce8eb6c424c7 ("slab: Rename list3/l3 to node")'
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
mm/slab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/slab.c b/mm/slab.c
index 9350062ffc1a..a7988aeb9bc3 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -1050,7 +1050,7 @@ int slab_prepare_cpu(unsigned int cpu)
* offline.
*
* Even if all the cpus of a node are down, we don't free the
- * kmem_list3 of any cache. This to avoid a race between cpu_down, and
+ * kmem_cache_node of any cache. This to avoid a race between cpu_down, and
* a kmalloc allocation from another cpu for memory from the node of
* the cpu going down. The list3 structure is usually allocated from
* kmem_cache_create() and gets destroyed at kmem_cache_destroy().
--
2.21.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mm/slab.c: Update outdated kmem_list3 in a comment
2020-07-22 3:33 [PATCH] mm/slab.c: Update outdated kmem_list3 in a comment Xiao Yang
@ 2020-07-30 13:31 ` Xiao Yang
2020-07-30 16:36 ` Pekka Enberg
1 sibling, 0 replies; 3+ messages in thread
From: Xiao Yang @ 2020-07-30 13:31 UTC (permalink / raw)
To: Xiao Yang; +Cc: cl, penberg, linux-mm
Hi,
Ping.
On 2020/7/22 11:33, Xiao Yang wrote:
> kmem_list3 has been renamed to kmem_cache_node long long
> ago so update it.
>
> References:
> '6744f087ba2a ("slab: Common name for the per node structures")'
> 'ce8eb6c424c7 ("slab: Rename list3/l3 to node")'
>
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> ---
> mm/slab.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/slab.c b/mm/slab.c
> index 9350062ffc1a..a7988aeb9bc3 100644
> --- a/mm/slab.c
> +++ b/mm/slab.c
> @@ -1050,7 +1050,7 @@ int slab_prepare_cpu(unsigned int cpu)
> * offline.
> *
> * Even if all the cpus of a node are down, we don't free the
> - * kmem_list3 of any cache. This to avoid a race between cpu_down, and
> + * kmem_cache_node of any cache. This to avoid a race between cpu_down, and
> * a kmalloc allocation from another cpu for memory from the node of
> * the cpu going down. The list3 structure is usually allocated from
> * kmem_cache_create() and gets destroyed at kmem_cache_destroy().
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm/slab.c: Update outdated kmem_list3 in a comment
2020-07-22 3:33 [PATCH] mm/slab.c: Update outdated kmem_list3 in a comment Xiao Yang
2020-07-30 13:31 ` Xiao Yang
@ 2020-07-30 16:36 ` Pekka Enberg
1 sibling, 0 replies; 3+ messages in thread
From: Pekka Enberg @ 2020-07-30 16:36 UTC (permalink / raw)
To: Xiao Yang; +Cc: Christoph Lameter, linux-mm
On Wed, Jul 22, 2020 at 6:41 AM Xiao Yang <yangx.jy@cn.fujitsu.com> wrote:
>
> kmem_list3 has been renamed to kmem_cache_node long long
> ago so update it.
>
> References:
> '6744f087ba2a ("slab: Common name for the per node structures")'
> 'ce8eb6c424c7 ("slab: Rename list3/l3 to node")'
>
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-30 16:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22 3:33 [PATCH] mm/slab.c: Update outdated kmem_list3 in a comment Xiao Yang
2020-07-30 13:31 ` Xiao Yang
2020-07-30 16:36 ` Pekka Enberg
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).