linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH V2] mm/slab.c: Delete the if statement
       [not found] <20230111092744.112038-1-lvqian@nfschina.com>
@ 2023-01-12 23:53 ` David Rientjes
  2023-01-13 11:20   ` Vlastimil Babka
  0 siblings, 1 reply; 2+ messages in thread
From: David Rientjes @ 2023-01-12 23:53 UTC (permalink / raw)
  To: lvqian
  Cc: cl, penberg, kim, akpm, vbabka, roman.gushchin, 42.hyeyoo,
	linux-mm, linux-kernel

On Wed, 11 Jan 2023, lvqian@nfschina.com wrote:

> From: lvqian <lvqian@nfschina.com>
> 
> 	Remove the if statement to increase code readability.
> 
> Signed-off-by: lvqian <lvqian@nfschina.com>

Acked-by: David Rientjes <rientjes@google.com>

Will rely on Vlastimil to remove the spurious tab in the commit 
description.  Function could be inline, but no strong preference.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH V2] mm/slab.c: Delete the if statement
  2023-01-12 23:53 ` [PATCH V2] mm/slab.c: Delete the if statement David Rientjes
@ 2023-01-13 11:20   ` Vlastimil Babka
  0 siblings, 0 replies; 2+ messages in thread
From: Vlastimil Babka @ 2023-01-13 11:20 UTC (permalink / raw)
  To: David Rientjes, lvqian
  Cc: cl, penberg, kim, akpm, roman.gushchin, 42.hyeyoo, linux-mm,
	linux-kernel

On 1/13/23 00:53, David Rientjes wrote:
> On Wed, 11 Jan 2023, lvqian@nfschina.com wrote:
> 
>> From: lvqian <lvqian@nfschina.com>
>> 
>> 	Remove the if statement to increase code readability.
>> 
>> Signed-off-by: lvqian <lvqian@nfschina.com>
> 
> Acked-by: David Rientjes <rientjes@google.com>
> 
> Will rely on Vlastimil to remove the spurious tab in the commit 
> description.

Right, also changed subject to:
mm/slab.c: cleanup is_debug_pagealloc_cache()

Function could be inline, but no strong preference.

Good point, did that too.

Added to
slab/for-6.3/cleanups

Thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-13 11:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230111092744.112038-1-lvqian@nfschina.com>
2023-01-12 23:53 ` [PATCH V2] mm/slab.c: Delete the if statement David Rientjes
2023-01-13 11:20   ` Vlastimil Babka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox