linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Zhan Chen <zhanc1@andrew.cmu.edu>
To: andi@firstfloor.org
Cc: linux-mm@kvack.org
Subject: 3.10 kernel issue: dequeue_hwpoisoned_huge_page fails in soft offline
Date: Tue, 12 Jul 2016 17:30:34 -0700	[thread overview]
Message-ID: <CAAs6xrw+UDeBJE1WKG9FK-YFN6xLDbA_c=_-y857fsRcO9K=Zw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

Hi Andi,

I encounter an issue with 3.10 kernel where soft offlined huge page can not
be dequeued. Specifically, in function soft_offline_huge_page,
 dequeue_hwpoisoned_huge_page returns negative. It turns out that right
after the page is put_page, it's grabbed by some thread again.

Is there a fix that can prevent offlined pages being put back in use?
Plus, from the comment, dequeue_hwpoisoned_huge_page assumes caller holding
the page lock, which is not the case in this context, would this be a
problem in this case ?
Thank you.
-Zhan

[-- Attachment #2: Type: text/html, Size: 659 bytes --]

                 reply	other threads:[~2016-07-13  0:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CAAs6xrw+UDeBJE1WKG9FK-YFN6xLDbA_c=_-y857fsRcO9K=Zw@mail.gmail.com' \
    --to=zhanc1@andrew.cmu.edu \
    --cc=andi@firstfloor.org \
    --cc=linux-mm@kvack.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox