new kernel ... / userspace vs kernel

Andy Green andy at openmoko.com
Mon Sep 29 11:02:21 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| I'm sure it's good code, and I'm sure you've taken care that it will
| continue to run when there's no memory left, or when other common
| resources are exhausted, or access to them is locked up, and I'm sure
| it's statically linked to protect from package corruption --  but it's
| still user-space, and I'm quite certain there are still failure modes
| where it will die along with all userspace, when a simple bit of kernel
| code can still quite capably run.

Yes, userspace brings dependencies on rootfs IO error, OOM killer,
signals, other kernel subsystems that can permanently block it, etc that
are not present in kernel code alone.  Mostly it's not a real
consideration if numptyphysics or the calculator blows up under these
extremities but if the code is considered that critical...

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjgmZwACgkQOjLpvpq7dMqkxACfbf1LIusJwDlWQc74sYUhsKQK
47MAn1uSdngDkldUQguzhjuGSrVbxHpV
=RZJW
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list