[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221108011910.350887-1-mike.kravetz@oracle.com>
Date: Mon, 7 Nov 2022 17:19:08 -0800
From: Mike Kravetz <mike.kravetz@...cle.com>
To: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Cc: Naoya Horiguchi <naoya.horiguchi@...ux.dev>,
David Hildenbrand <david@...hat.com>,
Axel Rasmussen <axelrasmussen@...gle.com>,
Mina Almasry <almasrymina@...gle.com>,
Peter Xu <peterx@...hat.com>,
Nadav Amit <nadav.amit@...il.com>,
Rik van Riel <riel@...riel.com>,
Vlastimil Babka <vbabka@...e.cz>,
Matthew Wilcox <willy@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Kravetz <mike.kravetz@...cle.com>
Subject: [PATCH v8 0/2] hugetlb MADV_DONTNEED fix and zap_page_range cleanup
Sending v8 as a two patch series.
Patch 1 addressed the huegtlb MADV_DONTNEED bug and should eventually go
to stable releases.
Patch 2 is cleanup which removes zap_page_range and changes as all callers
to use the new zap_vma_range routine as they only pass ranges within a
single vma.
These changes inspired by discussions with Nadav and Peter.
Andrew, I would suggest not replacing the patch currently in
mm-hotfixes-unstable branch until there is some feedback here.
Mike Kravetz (2):
hugetlb: don't delete vma_lock in hugetlb MADV_DONTNEED processing
mm: remove zap_page_range and change callers to use zap_vma_range
arch/arm64/kernel/vdso.c | 4 +--
arch/powerpc/kernel/vdso.c | 2 +-
arch/powerpc/platforms/book3s/vas-api.c | 2 +-
arch/powerpc/platforms/pseries/vas.c | 2 +-
arch/riscv/kernel/vdso.c | 4 +--
arch/s390/kernel/vdso.c | 2 +-
arch/s390/mm/gmap.c | 2 +-
arch/x86/entry/vdso/vma.c | 2 +-
drivers/android/binder_alloc.c | 2 +-
include/linux/mm.h | 5 ++-
mm/hugetlb.c | 45 +++++++++++++----------
mm/madvise.c | 4 +--
mm/memory.c | 47 +++++++------------------
mm/page-writeback.c | 2 +-
net/ipv4/tcp.c | 6 ++--
15 files changed, 61 insertions(+), 70 deletions(-)
--
2.37.3
Powered by blists - more mailing lists