FreeBSD system call implementation

Kamal R. Prasad kamalpr at yahoo.com
Wed Dec 15 07:56:54 PST 2004


--- Andrey Simonenko <simon at comsys.ntu-kpi.kiev.ua>
wrote:

> On Wed, Dec 15, 2004 at 08:19:05PM +0530, Ravi
> Krishna wrote:
> 
> > My question is why we store the
> p->p_sysent->sv_table
> > for each process. What is the reason for keeping
> this per process?
> > Are there some situations where two processes can
> have different system calls
> > available?
> 
> Processes can have different p_sysent, because the
> kernel supports
> different ABIs.  sv_entry (pointer to some system
> call table) is

Sounds rather inefficient to have a per-process table
rather than a set of ABIs into which the per process
table is an indirection (similar to say vnops).

regards
-kamal



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



More information about the freebsd-hackers mailing list