linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrea Arcangeli <aarcange@redhat.com>
To: Andrew Morton <akpm@linux-foundation.org>,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Cc: Alex Williamson <alex.williamson@redhat.com>,
	"Kirill A. Shutemov" <kirill@shutemov.name>
Subject: [PATCH 0/3] mm: thp: mapcount updates
Date: Fri,  6 May 2016 17:03:57 +0200	[thread overview]
Message-ID: <1462547040-1737-1-git-send-email-aarcange@redhat.com> (raw)

Hello,

1/3 is a bugfix and it fixes userland (not kernel) data corruption
with vfio (and in general device driver) page pinning done with
get_user_pages. More testing of it under any load is welcome (also not
necessarily a page pinning load using vfio).

Along with the above I'm sending also 2/3 and 3/3 but those are not
meant to be merged upstream quickly and they're very low priority and
furthermore 2/3 is not zero risk and it didn't get enough testing
yet. Queuing 2/3 in -mm to give it more exposure should be ok
though. 2/3 is only suitable for merging at the very opening of merge
window anyway.

Andrea Arcangeli (3):
  mm: thp: calculate the mapcount correctly for THP pages during WP
    faults
  mm: thp: microoptimize compound_mapcount()
  mm: thp: split_huge_pmd_address() comment improvement

 include/linux/mm.h   | 12 +++++++--
 include/linux/swap.h |  8 +++---
 mm/huge_memory.c     | 73 ++++++++++++++++++++++++++++++++++++++++++++--------
 mm/memory.c          | 22 ++++++++++------
 mm/swapfile.c        | 13 +++++-----
 5 files changed, 98 insertions(+), 30 deletions(-)

--
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-05-06 15:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-06 15:03 Andrea Arcangeli [this message]
2016-05-06 15:03 ` [PATCH 1/3] mm: thp: calculate the mapcount correctly for THP pages during WP faults Andrea Arcangeli
2016-05-06 22:10   ` Alex Williamson
2016-05-09 22:26   ` Andrew Morton
2016-05-10 19:21   ` [PATCH 1/1] " Andrea Arcangeli
2016-05-11 21:26     ` [1/1] " Mike Marciniszyn
2016-05-12 16:32     ` [PATCH 1/1] " Andrea Arcangeli
2016-05-12 18:48       ` [1/1] " Mike Marciniszyn
2016-05-06 15:03 ` [PATCH 2/3] mm: thp: microoptimize compound_mapcount() Andrea Arcangeli
2016-05-06 17:33   ` Kirill A. Shutemov
2016-05-06 15:04 ` [PATCH 3/3] mm: thp: split_huge_pmd_address() comment improvement Andrea Arcangeli
2016-05-06 17:33   ` Kirill A. Shutemov

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=1462547040-1737-1-git-send-email-aarcange@redhat.com \
    --to=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=alex.williamson@redhat.com \
    --cc=kirill@shutemov.name \
    --cc=linux-kernel@vger.kernel.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