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/slab.c: fix spelling mistake "disired" -> "desired"

There is a spelling mistake in a comment. Fix it.

Link: https://lkml.kernel.org/r/20210317094158.5762-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Colin Ian King and committed by
Linus Torvalds
80d01558 d4e3e52b

+1 -1
+1 -1
mm/slab.c
··· 2284 2284 * Because if it is the case, that means we defer the creation of 2285 2285 * the kmalloc_{dma,}_cache of size sizeof(slab descriptor) to this point. 2286 2286 * And we eventually call down to __kmem_cache_create(), which 2287 - * in turn looks up in the kmalloc_{dma,}_caches for the disired-size one. 2287 + * in turn looks up in the kmalloc_{dma,}_caches for the desired-size one. 2288 2288 * This is a "chicken-and-egg" problem. 2289 2289 * 2290 2290 * So the off-slab slab descriptor shall come from the kmalloc_{dma,}_caches,