commit | f101577f332e4b47c6b5e77d02af6f054fa8a311 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@google.com> | Tue Jun 18 17:31:49 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue Jun 18 17:31:49 2019 +0000 |
tree | 3441bb68e71dd0f0a2b002e5b8d57a6b89dc7d50 | |
parent | ec458d30d2128ef5783cd7f6c5c486fb09308348 [diff] |
[zircon][oom][fs] Signal event in OOM situation Before rebooting the system when out of memory, have the kernel signal an event which gives userspace a chance to clean up. In particular, devcoordinator uses this to cleanly shutdown VFS which is important until we have journaling. A new syscall is added system_get_event() to allow retrieval of a handle to this event. This is gated on providing the root job for now. This also changes behaviour back to defaulting to reboot-on-OOM rather than killing KILL_ON_OOM processes, unless in the "bringup" config. ZX-4277 #comment [zircon][oom][fs] Signal event in OOM situation I1b2949c57bc6440974fabcf57b3fbf8032783bc8 ZX-3637 #comment [zircon][oom][fs] Signal event in OOM situation I1b2949c57bc6440974fabcf57b3fbf8032783bc8 ZX-3636 #comment [zircon][oom][fs] Signal event in OOM situation I1b2949c57bc6440974fabcf57b3fbf8032783bc8 DNO-629 #comment [zircon][oom][fs] Signal event in OOM situation I1b2949c57bc6440974fabcf57b3fbf8032783bc8 Change-Id: I1b2949c57bc6440974fabcf57b3fbf8032783bc8
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.