Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 May 2004 11:10:38 -0400
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Colin Percival <cperciva@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_clock.c 
Message-ID:  <200405031510.i43FAced005343@green.homeunix.org>
In-Reply-To: Message from Colin Percival <cperciva@FreeBSD.org>  <200405030048.i430mBDq031197@repoman.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Colin Percival <cperciva@FreeBSD.org> wrote:
> cperciva    2004/05/02 17:48:11 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/kern             kern_clock.c 
>   Log:
>   Fix a race condition which could result in profprocs being decremented
>   more than once if stopprofclock is called multiple times on the same
>   process.

FWIW, the sched_lock enclosing the p->p_flag modification seems pretty bogus.

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




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