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


Groups > linux.kernel > #1731233

Re: [PATCH] mm, hugetlb, soft_offline: save compound page order before page migration

From Andrew Morton <akpm@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mm, hugetlb, soft_offline: save compound page order before page migration
Date 2017-09-12 23:00 +0200
Message-ID <up0rL-6dO-13@gated-at.bofh.it> (permalink)
References <up0i6-6a1-13@gated-at.bofh.it> <up0rL-6dO-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 12 Sep 2017 13:54:48 -0700 Andrew Morton <akpm@linux-foundation.org> wrote:

> On Tue, 12 Sep 2017 22:43:06 +0200 Alexandru Moise <00moses.alexander00@gmail.com> wrote:
> 
> > This fixes a bug in madvise() where if you'd try to soft offline a
> > hugepage via madvise(), while walking the address range you'd end up,
> > using the wrong page offset due to attempting to get the compound
> > order of a former but presently not compound page, due to dissolving
> > the huge page (since c3114a8).
> 
> What are the user visible effects of the bug?  The wrong page is
> offlined?  No offlining occurs?  

This also affects MADV_HWPOISON?

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


Thread

[PATCH] mm, hugetlb, soft_offline: save compound page order before  page migration Alexandru Moise <00moses.alexander00@gmail.com> - 2017-09-12 22:50 +0200
  Re: [PATCH] mm, hugetlb, soft_offline: save compound page order  before page migration Andrew Morton <akpm@linux-foundation.org> - 2017-09-12 23:00 +0200
    Re: [PATCH] mm, hugetlb, soft_offline: save compound page order  before page migration Andrew Morton <akpm@linux-foundation.org> - 2017-09-12 23:00 +0200
      Re: [PATCH] mm, hugetlb, soft_offline: save compound page order  before page migration Alexandru Moise <00moses.alexander00@gmail.com> - 2017-09-12 23:20 +0200
    Re: [PATCH] mm, hugetlb, soft_offline: save compound page order  before page migration Alexandru Moise <00moses.alexander00@gmail.com> - 2017-09-12 23:20 +0200
  Re: [PATCH] mm, hugetlb, soft_offline: save compound page order  before page migration Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> - 2017-09-13 02:20 +0200
    Re: [PATCH] mm, hugetlb, soft_offline: save compound page order  before page migration Alexandru Moise <00moses.alexander00@gmail.com> - 2017-09-13 10:40 +0200

csiph-web