Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 21:56:17 +0200
From:      Thomas Moestl <t.moestl@tu-bs.de>
To:        Julian Elischer <julian@elischer.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sparc64/sparc64 vm_machdep.c
Message-ID:  <20040520195617.GA2087@timesink.dyndns.org>
In-Reply-To: <Pine.BSF.4.21.0405201147400.72391-100000@InterJet.elischer.org>
References:  <200405201841.i4KIf730084094@repoman.freebsd.org> <Pine.BSF.4.21.0405201147400.72391-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2004/05/20 at 11:48:19 -0700, Julian Elischer wrote:
> While you are there, can you rename it to cpu_exit2()
> as it has nothing to do with the scheduler..

As I mentioned previously, the connection is that this function must
be called with sched_lock held (and it must be held until the final
cpu_throw() after that). It does tasks that have a connection to
thread switching, so the name is not really inappropriate.

cpu_exit2 is far less descriptive as a name.

	- Thomas

-- 
Thomas Moestl	<t.moestl@tu-bs.de>	http://www.tu-bs.de/~y0015675/
		<tmm@FreeBSD.org>	http://people.FreeBSD.org/~tmm/
"I try to make everyone's day a little more surreal."
						-- Calvin and Hobbes



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