OK. It fails on 4.15. The overcommit logic has changed between 5.1 and 5.2-rc1 with the following commit:
8c7829b04c523cdc732cb77f59f03320e09f3386 ("mm: fix false-positive OVERCOMMIT_GUESS failures").
Compared to the new logic, the old one is overly complicated, and not easy to account on the test itself. Allocating half the memory should probably be enough for the test purpose.
Cascardo.
OK. It fails on 4.15. The overcommit logic has changed between 5.1 and 5.2-rc1 with the following commit:
8c7829b04c523cd c732cb77f59f033 20e09f3386 ("mm: fix false-positive OVERCOMMIT_GUESS failures").
Compared to the new logic, the old one is overly complicated, and not easy to account on the test itself. Allocating half the memory should probably be enough for the test purpose.
Cascardo.