[PATCH] mm/slub: fix typo in sheaves comment

Wilson Zeng posted 1 patch 1 week, 1 day ago
mm/slub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mm/slub: fix typo in sheaves comment
Posted by Wilson Zeng 1 week, 1 day ago
Fix a typo in the comment describing oversize sheaves handling:
"area" should be "are".

Signed-off-by: Wilson Zeng <cheng20011202@gmail.com>
---
 mm/slub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/slub.c b/mm/slub.c
index 8f9004536729..686559479273 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -5011,7 +5011,7 @@ kmem_cache_prefill_sheaf(struct kmem_cache *s, gfp_t gfp, unsigned int size)
 
 		/*
 		 * we do not need to care about pfmemalloc here because oversize
-		 * sheaves area always flushed and freed when returned
+		 * sheaves are always flushed and freed when returned
 		 */
 		if (!__kmem_cache_alloc_bulk(s, gfp, size,
 					     &sheaf->objects[0])) {
-- 
2.53.0
Re: [PATCH] mm/slub: fix typo in sheaves comment
Posted by Harry Yoo 1 week ago
On 5/17/26 1:40 AM, Wilson Zeng wrote:
> Fix a typo in the comment describing oversize sheaves handling:
> "area" should be "are".
>
> Signed-off-by: Wilson Zeng <cheng20011202@gmail.com>
> ---

Acked-by: Harry Yoo (Oracle) <harry@kernel.org>

>   mm/slub.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/slub.c b/mm/slub.c
> index 8f9004536729..686559479273 100644
> --- a/mm/slub.c
> +++ b/mm/slub.c
> @@ -5011,7 +5011,7 @@ kmem_cache_prefill_sheaf(struct kmem_cache *s, gfp_t gfp, unsigned int size)
>   
>   		/*
>   		 * we do not need to care about pfmemalloc here because oversize
> -		 * sheaves area always flushed and freed when returned
> +		 * sheaves are always flushed and freed when returned
>   		 */
>   		if (!__kmem_cache_alloc_bulk(s, gfp, size,
>   					     &sheaf->objects[0])) {

-- 
Cheers,
Harry / Hyeonggon