Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jun 2006 19:26:53 +0200
From:      "Attilio Rao" <attilio@freebsd.org>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>, freebsd-arch@freebsd.org,  "Robert Watson" <rwatson@freebsd.org>
Subject:   Re: Why use `thread' as an argument of Syscalls?
Message-ID:  <3bbf2fe10606051026k7a9bcba4udea9ce369fea6ce4@mail.gmail.com>
In-Reply-To: <20279.1149527318@critter.freebsd.dk>
References:  <200606051700.k55H0OeJ092393@chez.mckusick.com> <20279.1149527318@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
2006/6/5, Poul-Henning Kamp <phk@phk.freebsd.dk>:
> It would be a good Junior Kernel Hacker project to try to replace
> these passed arguments with curproc and see if a measurable difference
> in performance is obtained.

There's another thing to consider: having an argument-passing
structure, will improve 'reentrancy' of the kernel.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein



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