Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2022 22:31:13 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: fce3b1c32793 - main - fork_exit(): style comment
Message-ID:  <YwZ8gWiZL6MZyijU@kib.kiev.ua>
In-Reply-To: <202208241925.27OJPIif069316@gitrepo.freebsd.org>
References:  <202208241925.27OJPIif069316@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 24, 2022 at 07:25:18PM +0000, Konstantin Belousov wrote:
> The branch main has been updated by kib:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=fce3b1c327937085f0df4964ac15fc4b212913af
> 
> commit fce3b1c327937085f0df4964ac15fc4b212913af
> Author:     Konstantin Belousov <kib@FreeBSD.org>
> AuthorDate: 2022-08-21 23:14:02 +0000
> Commit:     Konstantin Belousov <kib@FreeBSD.org>
> CommitDate: 2022-08-24 19:12:53 +0000
> 
>     fork_exit(): style comment
>     
>     Reviewed by:    jhb
This series was also
 Reviewed by:    imp

Sorry.

>     Sponsored by:   The FreeBSD Foundation
>     MFC after:      1 week
>     Differential revision:  https://reviews.freebsd.org/D36302
> ---
>  sys/kern/kern_fork.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
> index b4f96686caba..58f386f20544 100644
> --- a/sys/kern/kern_fork.c
> +++ b/sys/kern/kern_fork.c
> @@ -1080,11 +1080,12 @@ fork_exit(void (*callout)(void *, struct trapframe *), void *arg,
>  	    td, td_get_sched(td), p->p_pid, td->td_name);
>  
>  	sched_fork_exit(td);
> +
>  	/*
> -	* Processes normally resume in mi_switch() after being
> -	* cpu_switch()'ed to, but when children start up they arrive here
> -	* instead, so we must do much the same things as mi_switch() would.
> -	*/
> +	 * Processes normally resume in mi_switch() after being
> +	 * cpu_switch()'ed to, but when children start up they arrive here
> +	 * instead, so we must do much the same things as mi_switch() would.
> +	 */
>  	if ((dtd = PCPU_GET(deadthread))) {
>  		PCPU_SET(deadthread, NULL);
>  		thread_stash(dtd);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YwZ8gWiZL6MZyijU>