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

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


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 _at_ vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
Follow-Ups: References: