Re: + mm-damon-remove-unnecessary-do_exit-from-kdamond.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> The patch titled
>      Subject: mm/damon: remove unnecessary do_exit() from kdamond
> has been added to the -mm tree.  Its filename is
>      mm-damon-remove-unnecessary-do_exit-from-kdamond.patch
> 
> This patch should soon appear at
>     https://ozlabs.org/~akpm/mmots/broken-out/mm-damon-remove-unnecessary-do_exit-from-kdamond.patch
> and later at
>     https://ozlabs.org/~akpm/mmotm/broken-out/mm-damon-remove-unnecessary-do_exit-from-kdamond.patch
> 
> Before you just go and hit "reply", please:
>    a) Consider who else should be cc'ed
>    b) Prefer to cc a suitable mailing list as well
>    c) Ideally: find the original patch on the mailing list and do a
>       reply-to-all to that, adding suitable additional cc's
> 
> *** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
> 
> The -mm tree is included into linux-next and is updated
> there every 3-4 working days
> 
> ------------------------------------------------------
> From: Changbin Du <changbin.du@xxxxxxxxx>
> Subject: mm/damon: remove unnecessary do_exit() from kdamond
> 
> Just return from the kthread function.
> 
> Link: https://lkml.kernel.org/r/20210927232421.17694-1-changbin.du@xxxxxxxxx
> Signed-off-by: Changbin Du <changbin.du@xxxxxxxxx>
> Cc: SeongJae Park <sjpark@xxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: SeongJae Park <sj@xxxxxxxxxx>


Thanks,
SJ

> ---
> 
>  mm/damon/core.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/mm/damon/core.c~mm-damon-remove-unnecessary-do_exit-from-kdamond
> +++ a/mm/damon/core.c
> @@ -714,7 +714,7 @@ static int kdamond_fn(void *data)
>  	nr_running_ctxs--;
>  	mutex_unlock(&damon_lock);
>  
> -	do_exit(0);
> +	return 0;
>  }
>  
>  #include "core-test.h"
> _
> 
> Patches currently in -mm which might be from changbin.du@xxxxxxxxx are
> 
> mm-damon-remove-unnecessary-do_exit-from-kdamond.patch
> mm-damon-neednt-hold-kdamond_lock-to-print-pid-of-kdamond.patch



[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux