sbrk(2) broken

Dag-Erling Smørgrav des at
Fri Jan 4 04:48:44 PST 2008

Robert Watson <rwatson at> writes:
> As I mentioned in my e-mail, it would be nice if our file system
> supported a way to reserve blocks for files without hooking them up to
> the file's visiible address space (in order to avoid zeroing them,
> which is required if you do want to hook them up for an unprivileged
> process).  However, that feature doesn't currently exist.

Even for files which are intended to be filled up immediately, telling
the file system ahead of time how much data will be written would allow
it to make much better layout decisions.

Dag-Erling Smørgrav - des at

More information about the freebsd-current mailing list