commit | 0ee28131a2c35feb1e86026552a21895a8c09f5f | [log] [tgz] |
---|---|---|
author | Shintaro Kawamura <kawasin@google.com> | Mon Dec 26 13:18:33 2022 +0900 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 10 03:10:00 2023 +0000 |
tree | 2a1e52ede7463e4b1b8625ae6a5610418986312a | |
parent | 168587a9b88d95d79ef3b00c9f6b44ddbe55e22e [diff] |
swap: add helpers for pagesize Using the cached page size shift has several performance benefits listed at the comment of the file. BUG=b:260543132 TEST=cargo test -p swap Change-Id: Ic7a19135b7a2e29c032c73fa7dca1d853cdb5e48 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4125177 Reviewed-by: David Stevens <stevensd@chromium.org> Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Shin Kawamura <kawasin@google.com>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the ChromeOS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on ChromeOS devices.