Why use `thread' as an argument of Syscalls?

Attilio Rao attilio at freebsd.org
Mon Jun 5 10:27:05 PDT 2006


2006/6/5, Poul-Henning Kamp <phk at 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


More information about the freebsd-arch mailing list