Re: [autofs] [RFC] Towards a Modern Autofs

From: Jeff Garzik
Date: Wed Jan 07 2004 - 19:04:50 EST


Mike Waychison wrote:
You wouldn't put a bdflush daemon in userspace either would you? The loop in question is just that; (overly simplified):

while (1) {
f = ask_kernel_if_anything_looks_inactive();
if (f) {
try_to_umount(f);
continue;
} else {
sleep(x seconds);
}
}

My point is, if this is the only active action done by userspace, why open it up to being broken?


You're still using arguments -against- putting software in the kernel. You don't decrease software's chances of "being broken" by putting it in the kernel, the opposite occurs -- you increase the likelihood of making the entire system unstable. This is one point that Solaris and Win32 have both missed :)

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/