commit | 26ca6162484f5895d248e02521babce5ae3bd0fe | [log] [tgz] |
---|---|---|
author | Venkatesh Srinivas <venkateshs@google.com> | Tue Jan 26 23:18:25 2021 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Tue Jan 26 23:18:25 2021 +0000 |
tree | 89d1f3e57333a1874160dde861c57c0a88d12f77 | |
parent | 4f54068ac26a53fa3353ccb10db0240ce6a68b21 [diff] |
[kernel][kasan] Fix booting on uniprocessor machines/VMs kasan failed to boot on uniprocessor VMs, because the x86 bootstrap code attempted a 0-byte allocation (0 bytes when no APs were present). kasan does not support allocating/poisoning zero bytes; solve the issue by skipping the AP structure allocation in this case. Bug: 67641 kasan doesn't work with SMP=1 Change-Id: Ieccf70b362bf68b81884e604a73ab387520bbca2 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/470842 Reviewed-by: Adrian Danis <adanis@google.com> Reviewed-by: Marco Vanotti <mvanotti@google.com> Commit-Queue: Venkatesh Srinivas <venkateshs@google.com>
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.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.