Date: Fri, 01 Feb 2002 17:40:59 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: Alfred Perlstein <alfred@freebsd.org> Cc: Bruce Evans <bde@zeta.org.au>, current@freebsd.org Subject: Re: lock reversal in fdalloc() Message-ID: <3C5B43AB.4E97EBA9@mindspring.com> References: <20020202072516.J290-100000@gamplex.bde.org> <3C5B3A94.6B12B9D0@mindspring.com> <20020201170509.E10817@elvis.mu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote: > There's a bunch of bogosity in the ordering of allocation of > slots in the filedesc versus filling out the struct file and > insertion into the list that I need to work out. I should be > able to take a swipe at it in a couple of weeks hopefully. It's very tempting to put an API to it, and make everyone use it the same way, to guarantee consistency. It's also very tempting to hack the crap out of it to seperate file access itself from the system call layer itself, so that file slot allocation is something that is system call layer specific, which would greatly enhance the ability to do kernel level file I/O and other things. AIX has a nice model, here. Doing that would put the API barrier at the system call layer along, which would clean up almost everything that needed to use it. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C5B43AB.4E97EBA9>