All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	Dmitry Vyukov <dvyukov@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>,
	David Rientjes <rientjes@google.com>,
	Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>,
	Michal Hocko <mhocko@suse.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Subject: [PATCHv2 0/2] Fix another VM_BUG_ON_PAGE(PageTail(page)) on mbind(2)
Date: Tue,  2 Feb 2016 19:20:59 +0300	[thread overview]
Message-ID: <1454430061-116955-1-git-send-email-kirill.shutemov@linux.intel.com> (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

WARNING: multiple messages have this Message-ID (diff)
From: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	Dmitry Vyukov <dvyukov@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>,
	David Rientjes <rientjes@google.com>,
	Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>,
	Michal Hocko <mhocko@suse.com>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org,
	"Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Subject: [PATCHv2 0/2] Fix another VM_BUG_ON_PAGE(PageTail(page)) on mbind(2)
Date: Tue,  2 Feb 2016 19:20:59 +0300	[thread overview]
Message-ID: <1454430061-116955-1-git-send-email-kirill.shutemov@linux.intel.com> (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

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2016-02-02 16:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02 16:20 Kirill A. Shutemov [this message]
2016-02-02 16:20 ` [PATCHv2 0/2] Fix another VM_BUG_ON_PAGE(PageTail(page)) on mbind(2) Kirill A. Shutemov
2016-02-02 16:21 ` [PATCHv2 1/2] mempolicy: do not try to queue pages from !vma_migratable() Kirill A. Shutemov
2016-02-02 16:21   ` Kirill A. Shutemov
2016-02-02 16:21 ` [PATCHv2 2/2] mm: downgrade VM_BUG in isolate_lru_page() to warning Kirill A. Shutemov
2016-02-02 16:21   ` Kirill A. Shutemov
2016-02-02 20:58   ` Andrew Morton
2016-02-02 20:58     ` Andrew Morton
2016-02-02 22:03     ` Kirill A. Shutemov
2016-02-02 22:03       ` Kirill A. Shutemov
2016-02-03 14:58   ` Michal Hocko
2016-02-03 14:58     ` Michal Hocko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454430061-116955-1-git-send-email-kirill.shutemov@linux.intel.com \
    --to=kirill.shutemov@linux.intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=dvyukov@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.com \
    --cc=n-horiguchi@ah.jp.nec.com \
    --cc=rientjes@google.com \
    --cc=vbabka@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.