[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9877bef9-b2e8-6a8c-4d68-7df7f3fb71eb@oracle.com>
Date: Mon, 12 Jul 2021 10:52:06 -0700
From: Mike Kravetz <mike.kravetz@...cle.com>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>,
Mina Almasry <almasrymina@...gle.com>
Cc: YueHaibing <yuehaibing@...wei.com>,
Axel Rasmussen <axelrasmussen@...gle.com>,
Peter Xu <peterx@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: Make copy_huge_page() always available
On 7/12/21 8:32 AM, Matthew Wilcox (Oracle) wrote:
> Rewrite copy_huge_page() and move it into mm/util.c so it's always
> available. Fixes an exposure of uninitialised memory on configurations
> with HUGETLB and UFFD enabled and MIGRATION disabled.
>
> Fixes: 8cc5fcbb5be8 ("mm, hugetlb: fix racy resv_huge_pages underflow on UFFDIO_COPY")
> Signed-off-by: Matthew Wilcox (Oracle) <willy@...radead.org>
> ---
> include/linux/migrate.h | 5 -----
> include/linux/mm.h | 1 +
> mm/migrate.c | 48 -----------------------------------------
> mm/util.c | 10 +++++++++
> 4 files changed, 11 insertions(+), 53 deletions(-)
Thanks Matthew,
Reviewed-by: Mike Kravetz <mike.kravetz@...cle.com>
--
Mike Kravetz
Powered by blists - more mailing lists