[zircon][kernel][userboot] Prevent kcounter vmo release

VmObjectPaged::CreateFromROData moves pages from wired kernel memory
into vmos. If those vmos are closed, the pages will be freed. Handle
that situation for the kcounter vmos by either unmapping the pages from
the kernel aspace or leaking a reference to the created vmo.

Also rename CreateFromROData to CreateFromWiredPages and added a
parameter indicating whether the vmo should have exclusive access to
the pages, to try and make the api clearer.

Test: CQ, kcounter
Change-Id: Ie139fa74825ffe4191ec4754ab020110ecc9c410
4 files changed
tree: 28bc435252eb5df509407c03e212f79413631f55
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. garnet/
  7. peridot/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. zircon/
  13. .clang-format
  14. .dir-locals.el
  15. .gitattributes
  16. .gitignore
  17. AUTHORS
  18. CODE_OF_CONDUCT.md
  19. CONTRIBUTING.md
  20. LICENSE
  21. OWNERS
  22. PATENTS
  23. README.md
  24. 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 the documentation.