commit | 8bcc565750e2446017a4d0a3323b4b50ba42359a | [log] [tgz] |
---|---|---|
author | Nick Maniscalco <maniscalco@google.com> | Thu Jun 20 05:24:49 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Jun 20 05:24:49 2019 +0000 |
tree | a34c7c056afbf7c57d9954186f74893bab3f96ed | |
parent | 12c300ed7fe130d20a8037546bb7cd65f3e1d231 [diff] |
[x86][kernel] Cache SMAP feature test in global bool Instead of checking for the CPU feature SMAP using x86_feature_test, cache the value in a global bool and check the bool in the hot paths instead. No change in functionality. Bug: ZX-4390 #comment create g_x86_feature_has_smap Change-Id: I4ca32943e553b8a21528d4144e6b50d92b03f5a9
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.