Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2003 09:37:10 -0500
From:      Jake Burkholder <jake@locore.ca>
To:        "Ilmar S. Habibulin" <ilmar@watson.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: What is the difference between p_ucred and td_ucred?
Message-ID:  <20030203093710.B2837@locore.ca>
In-Reply-To: <20030203090133.R78581-100000@fledge.watson.org>; from ilmar@watson.org on Mon, Feb 03, 2003 at 09:08:41AM -0500
References:  <20030203090133.R78581-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Mon, Feb 03, 2003 at 09:08:41AM -0500,
	Ilmar S. Habibulin said words to the effect of;

> 
> Why not to use only credits for proc and make td_ucred macro like
> td_proc->p_ucred? Or it has some meaning that i do not understand?

td_ucred is a read only reference to p_ucred, so you can access it without
needing any locks.  Its potentially updated on each kernel entry.

Jake

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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