Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1324251

[PATCHv2 0/2] Fix another VM_BUG_ON_PAGE(PageTail(page)) on mbind(2)

From "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCHv2 0/2] Fix another VM_BUG_ON_PAGE(PageTail(page)) on mbind(2)
Date 2016-02-02 17:30 +0100
Message-ID <qXM01-5FW-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Dmitry Vyukov reported yet another VM_BUG_ON_PAGE(PageTail(page)) bug from
isolate_lru_page().

The fisrt patch fixes the bug by filter out non migratable VMAs in
queue_pages_test_walk(). There's no point to queue pages from non-migratable
VMA even for MPOL_MF_STRICT.

The second patch replace VM_BUG_ON_PAGE() with WARN_RATELIMIT() in
isolate_lru_page(). Most attempts to isolate tail pages are not fatal, as
these pages usually are not on LRU and will not be isolated.

v2:
 - address feedback from Michal Hocko;

Kirill A. Shutemov (2):
  mempolicy: do not try to queue pages from !vma_migratable()
  mm: downgrade VM_BUG in isolate_lru_page() to warning

 mm/mempolicy.c | 14 +++++---------
 mm/vmscan.c    |  2 +-
 2 files changed, 6 insertions(+), 10 deletions(-)

-- 
2.7.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCHv2 0/2] Fix another VM_BUG_ON_PAGE(PageTail(page)) on mbind(2) "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-02-02 17:30 +0100
  [PATCHv2 1/2] mempolicy: do not try to queue pages from !vma_migratable() "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> - 2016-02-02 17:30 +0100

csiph-web