linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
To: lsf-pc@lists.linux-foundation.org
Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org
Subject: [LSF/MM ATTEND] Memory management -- memory error reporting, ksm memory error handling, hugepage migration
Date: Tue, 21 Jan 2014 13:02:49 -0500	[thread overview]
Message-ID: <1390327369-bbq8yv0o-mutt-n-horiguchi@ah.jp.nec.com> (raw)

I'd like to attend LSF/MM summit. My main interest is in memory management,
especially memory error handling, hugepage (both hugetlb/thp), and (huge)page
migration. Here is the list of topics which I'm interested in or now developing:

- Fixing memory error reporting issue
  There is a long standing issue on memory error reporting where we could
  consume the corrupted data when memory error occurs on a dirty page.
  This is because of the non-stickiness of AS_EIO on mapping->flags (which is
  cleared once checked in current implementation).
  So the first step to solve this problem is to keep the error contained
  until we confirm the error is solved. And the second step is to improve
  the logging with more information about which page offset of which file
  is affected by the error.
  And the optional step is the error recovery with full page overwriting.
  Now I'm preparing the patches which are based on pagecache tag approach.
  I plan to post the next version's patches until summit to show the progress.

  Non-stickiness of AS_EIO is also the case on the normal IO errors, so it
  could be a generic problem. But it's too big to solve at one time, and
  there was a disucission on the definition of errors in filesystem/block
  layers (http://lwn.net/Articles/548353) and it seems that we don't have
  a solution on it yet. IOW, I'm not sure if we can/should handle memory errors
  and normal IO errors in completely the same manner at least for now.
  So I want to separate the problem and will solve memory error issue at first.

- Memory error handling on ksm page
  Recently ksm pages can be redundant on per-node basis by commit 90bd6fd31c80
  "ksm: allow trees per NUMA node." This means that we have some possibility
  to recover from memory errors on ksm pages, which I think is an improvement.

- Further extension of hugepage migration.
  * thp migration via NUMA system calls
    thp migration is already available in the context of autonuma, but NUMA
    system calls like mbind(2) and move_pages(2) don't support thp (thp will
    be split when we call them on it.) So I think that the support will be
    helpful for users who want to control NUMA memory manually.
  * 1G hugepage migration
    2M hugepage migration is available now, but 1G hugepage migration is
    not ready due to lack of testing. I'm not sure how many users really
    want this feature, but anyway it's one of my development topics.

I hope that we can discuss on these topics.

Thanks,
Naoya Horiguchi

--
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:[~2014-01-21 18:02 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=1390327369-bbq8yv0o-mutt-n-horiguchi@ah.jp.nec.com \
    --to=n-horiguchi@ah.jp.nec.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lsf-pc@lists.linux-foundation.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