Re: HEADS-UP new statfs structure condidered harmful

From: Doug White <dwhite_at_gumbysoft.com>
Date: Mon, 17 Nov 2003 09:32:22 -0800 (PST)
On Sat, 15 Nov 2003, Matthew Dillon wrote:

>     I don't understand the question.  All that happens is that functions like
>     fstat() and statfs() become libc functions rather then direct syscalls.
>     The userland program doesn't know the difference, it uses fstat() and
>     statfs() just like it always has.

Well, there's some glue there now, but its pretty slim.   What you
advocate would swap system call numbers for doing structure reloading per
call, which would significantly incrase the cost of the call.
Considering that *BSD system call overhead is pretty bad as is, I don't
think I'd be putting structure recopies into the critical path of a
syscall.

--
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Mon Nov 17 2003 - 08:32:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC