diff options
author | Rahat Mahmood <rahat@google.com> | 2018-12-04 13:45:11 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-12-04 13:45:58 -0800 |
commit | 806e346491503e0292bcee8bf15d74bbf42e2a10 (patch) | |
tree | 97be4800fc3cc15477f5b418863f70e4c2610334 /pkg/sentry/arch/syscalls_amd64.go | |
parent | 8cbd6153a69ae370a3c5d3795952a1de00f7436b (diff) |
Fix mempolicy_test on bazel.
Bazel runs multiple test cases on the same thread. Some of the test
cases rely on the test thread starting with the default memory policy,
while other tests modify the test thread's memory policy. This
obviously breaks when the test framework doesn't run each test case on
a new thread.
Also fixing an incompatibility where set_mempolicy(2) was prevented
from specifying an empty nodemask, which is allowed for some modes.
PiperOrigin-RevId: 224038957
Change-Id: Ibf780766f2706ebc9b129dbc8cf1b85c2a275074
Diffstat (limited to 'pkg/sentry/arch/syscalls_amd64.go')
0 files changed, 0 insertions, 0 deletions