Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 21:44:14 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        smp@FreeBSD.ORG
Subject:   Re: suser() API change patch
Message-ID:  <20020327213629.S3808-100000@gamplex.bde.org>
In-Reply-To: <XFMail.20020326145210.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Mar 2002, John Baldwin wrote:

> The patch at the URL below changes the suser() API as follows.  Currently we
> have four suser() functions that take the following args:
>
> suser(proc)
> suser_td(thread)
> suser_xxx(cred, proc, flag)
> suser_xxx_td(cred, thread, flag)
>
> In the new scheme (which has been approved by Robert Watson and is really
> his design) we go back to only two functions like so:
>
> suser(thread, flag)
> suser_cred(cred, flag)

The former should be suser(thread).  In the patch, the flag is nonzero
in less than 10% of the calls.

Bruce


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




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