You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v01dstar@arch ~> cat /sys/kernel/mm/transparent_hugepage/enabled
[always] madvise never
Actual behavior
ArenaTest.UnmappedAllocation fails. (It passes if I change THP to madvise or never).
Steps to reproduce the behavior
Run the test case with THP enabled (always). On my friend's Ubuntu, he also need to set sysctl -w vm.nr_hugepages=256 to reproduce the failure.
This test case expects on-demand Arena paging allocation (IIUC from the PR that introduced it), but seems, it needs to be composed conditionally based on OS, hardware's settings.
The text was updated successfully, but these errors were encountered:
Summary: ... by allocating in increments (1MiB) smaller than the
typical smallest huge page size of 2MiB.
Fixesfacebook#12351
Test Plan:
```
sudo bash -c 'echo "always" > /sys/kernel/mm/transparent_hugepage/enabled'
```
And see unit test fails before this change, passes after this change
Summary: ... by allocating in increments (1MiB) smaller than the
typical smallest huge page size of 2MiB.
Fixesfacebook#12351
Test Plan:
```
sudo bash -c 'echo "always" > /sys/kernel/mm/transparent_hugepage/enabled'
```
And see unit test fails before this change, passes after this change
Expected behavior
All tests pass on my desktop.
Actual behavior
ArenaTest.UnmappedAllocation fails. (It passes if I change THP to
madvise
ornever
).Steps to reproduce the behavior
Run the test case with THP enabled (
always
). On my friend's Ubuntu, he also need to setsysctl -w vm.nr_hugepages=256
to reproduce the failure.This test case expects on-demand Arena paging allocation (IIUC from the PR that introduced it), but seems, it needs to be composed conditionally based on OS, hardware's settings.
The text was updated successfully, but these errors were encountered: