Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mm: fix some comments formatting

Correct one function name "get_partials" with "get_partial". Update the
old struct name of list3 with kmem_cache_node.

Signed-off-by: Chen Tao <chentao3@hotmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lkml.kernel.org/r/Message-ID:
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Chen Tao and committed by
Linus Torvalds
70b6d25e 0e9aa675

+2 -2
+1 -1
mm/slab.c
··· 1062 1062 * Even if all the cpus of a node are down, we don't free the 1063 1063 * kmem_cache_node of any cache. This to avoid a race between cpu_down, and 1064 1064 * a kmalloc allocation from another cpu for memory from the node of 1065 - * the cpu going down. The list3 structure is usually allocated from 1065 + * the cpu going down. The kmem_cache_node structure is usually allocated from 1066 1066 * kmem_cache_create() and gets destroyed at kmem_cache_destroy(). 1067 1067 */ 1068 1068 int slab_dead_cpu(unsigned int cpu)
+1 -1
mm/slub.c
··· 1956 1956 /* 1957 1957 * Racy check. If we mistakenly see no partial slabs then we 1958 1958 * just allocate an empty slab. If we mistakenly try to get a 1959 - * partial slab and there is none available then get_partials() 1959 + * partial slab and there is none available then get_partial() 1960 1960 * will return NULL. 1961 1961 */ 1962 1962 if (!n || !n->nr_partial)