[kernel] Increase OOM reboot timeout to allow serial port to drain

This is a short term mitigation for fxbug.dev/55673.  A future change
will address the issue systematically.

The DLOG buffer is 128KB.  A full buffer takes approximately 11.4
seconds to write out over serial so with a 10 second timeout, we
sometimes fail to reboot before the deadline, which results in a
assertion failure (panic) intead of a "normal" OOM reboot.

Increase the OOM reboot timeout from 10 seconds to 20 seconds.

Tested by booting Sherlock and seeing that an OOM initiated reboot
completes even when the serial buffer is full at the start of the OOM
event.

Bug: 55673
Change-Id: I7b1f38f010e53b7ef6fd39df0962de1b9ed9050e
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/405282
Reviewed-by: Scott Graham <scottmg@google.com>
Reviewed-by: Rasha Eqbal <rashaeqbal@google.com>
Testability-Review: Scott Graham <scottmg@google.com>
Commit-Queue: Nick Maniscalco <maniscalco@google.com>
1 file changed
tree: 47c3aa8131a8ca0c65571343de5c23acb4016b79
  1. boards/
  2. build/
  3. bundles/
  4. cts/
  5. docs/
  6. examples/
  7. garnet/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. third_party/
  13. tools/
  14. zircon/
  15. .clang-format
  16. .clang-tidy
  17. .gitattributes
  18. .gitignore
  19. .gn
  20. .style.yapf
  21. AUTHORS
  22. BUILD.gn
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. LICENSE
  26. OWNERS
  27. PATENTS
  28. README.md
  29. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.