tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: posix_fallocate



Robert Elz <kre%munnari.OZ.AU@localhost> wrote:

> To answer both you and the Mouse - the difference is that a user process
> actually writing data consumes measurable resources, and thus is easy to
> find and kill.   When everything happens in the kernel, spotting which
> arrantly idle user process is making it happen is not at all easy.

We could fork a kernel thread that would go to userspace to do the work
with a write() loop, with appropriate credentials. Does it makes sense?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index