[LTP] mbind() fails to fail with EIO

Kirill A. Shutemov kirill@shutemov.name
Tue Mar 19 15:52:33 CET 2019


On Tue, Mar 19, 2019 at 03:41:33PM +0100, Oscar Salvador wrote:
> On Tue, Mar 19, 2019 at 05:26:39PM +0300, Kirill A. Shutemov wrote:
> > That's all sounds reasonable.
> > 
> > We only need to make sure the bug fixed by 77bf45e78050 will not be
> > re-introduced.
> 
> I gave it a spin with the below patch.
> Your testcase works (so the bug is not re-introduced), and we get -EIO
> when running the ltp test [1].
> So unless I am missing something, it should be enough.

Don't we need to bypass !vma_migratable(vma) check in
queue_pages_test_walk() for MPOL_MF_STRICT? I mean user still might want
to check if all pages are on the right not even the vma is not migratable.

-- 
 Kirill A. Shutemov


More information about the ltp mailing list