Re: MADV_FREE is broken

2017-09-21 Thread Artem Savkov
On Wed, Sep 20, 2017 at 03:37:33PM -0700, Shaohua Li wrote: > On Wed, Sep 20, 2017 at 11:01:47AM +0200, Artem Savkov wrote: > > Hi All, > > > > We recently started noticing madvise09[1] test from ltp failing strangely. > > The > > test does the following: maps 32 pages, sets MADV_FREE for the

Re: MADV_FREE is broken

2017-09-21 Thread Artem Savkov
On Wed, Sep 20, 2017 at 03:37:33PM -0700, Shaohua Li wrote: > On Wed, Sep 20, 2017 at 11:01:47AM +0200, Artem Savkov wrote: > > Hi All, > > > > We recently started noticing madvise09[1] test from ltp failing strangely. > > The > > test does the following: maps 32 pages, sets MADV_FREE for the

Re: MADV_FREE is broken

2017-09-20 Thread Shaohua Li
On Wed, Sep 20, 2017 at 11:01:47AM +0200, Artem Savkov wrote: > Hi All, > > We recently started noticing madvise09[1] test from ltp failing strangely. The > test does the following: maps 32 pages, sets MADV_FREE for the range it got, > dirties 2 of the pages, creates memory pressure and check

Re: MADV_FREE is broken

2017-09-20 Thread Shaohua Li
On Wed, Sep 20, 2017 at 11:01:47AM +0200, Artem Savkov wrote: > Hi All, > > We recently started noticing madvise09[1] test from ltp failing strangely. The > test does the following: maps 32 pages, sets MADV_FREE for the range it got, > dirties 2 of the pages, creates memory pressure and check

MADV_FREE is broken

2017-09-20 Thread Artem Savkov
Hi All, We recently started noticing madvise09[1] test from ltp failing strangely. The test does the following: maps 32 pages, sets MADV_FREE for the range it got, dirties 2 of the pages, creates memory pressure and check that nondirty pages are free. The test hanged while accessing the last 4

MADV_FREE is broken

2017-09-20 Thread Artem Savkov
Hi All, We recently started noticing madvise09[1] test from ltp failing strangely. The test does the following: maps 32 pages, sets MADV_FREE for the range it got, dirties 2 of the pages, creates memory pressure and check that nondirty pages are free. The test hanged while accessing the last 4