From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA4A6C3F6B0 for ; Wed, 10 Aug 2022 01:17:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1EF7F8E0002; Tue, 9 Aug 2022 21:17:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 19E498E0001; Tue, 9 Aug 2022 21:17:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 08E728E0002; Tue, 9 Aug 2022 21:17:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id EE28E8E0001 for ; Tue, 9 Aug 2022 21:17:46 -0400 (EDT) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id B4D011C68D6 for ; Wed, 10 Aug 2022 01:17:46 +0000 (UTC) X-FDA: 79781920932.30.2B89658 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf18.hostedemail.com (Postfix) with ESMTP id 374381C016C for ; Wed, 10 Aug 2022 01:17:46 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 756D4B81A03; Wed, 10 Aug 2022 01:17:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09280C433D7; Wed, 10 Aug 2022 01:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1660094263; bh=kLAFyrpdrl8QdNdjD7r3oy6bGtZvjGcHF8LMVdgzi6g=; h=Date:From:To:Cc:Subject:From; b=RHKKtGkMx0G/oNfkv3eQ6tyCYu3amobQfOBC/CwgtQrSicHVhU48mFnhnAYW5kf3x 6xWd82pTqiQArk1ZqUkXDXFFBr7HaNNRKiXQ7NFdp3zwdjLWpWH8FhnvYMjzyUTnbL 8/C2y/qW/EOsf1/A7QnXDUhaVOGzo26U3Wg78kh8= Date: Tue, 9 Aug 2022 18:17:42 -0700 From: Andrew Morton To: Linus Torvalds Cc: linux-mm@kvack.org, mm-commits@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] remaining MM updates for 5.20-r1 Message-Id: <20220809181742.30eb3ee4071d2b8bb81bc959@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1660094266; a=rsa-sha256; cv=none; b=okARdY6rKyAMm6kvcz0Ss3RpQ6OhE0Zh7hN6Wzo84o+22ANrzECn49fsBFnMPnRnxvb6tP IwbV4oPNBFeIN7Nw6+vwzNq2aRdLVnRFfuyO29KDlyo2hhpsPoMTU3ukQarUQcWrlUOUeD o5dAoV5dB18I78DvyAQbFp+et3vpxF0= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=RHKKtGkM; spf=pass (imf18.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1660094266; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=gJDp82/sBpc8+F1NJfmoS4VltFyuOo2Kvhq7telTmW4=; b=BUPtXs5UlyWVwBLTuOzv988UnG+bhUJLAq1j5F/B7nCiGEYd3UTp1/kXKXto0FkixppBCD gke+lH5jxWh/2IzpZ0d9OdmHOgYcgHVnKOWfktSmRytTsdwOTCOCFbHZN2O/pY2gs724af eCiB4F0VWdSO+2UH7NB7E9D3LF0CKyU= X-Rspamd-Queue-Id: 374381C016C X-Rspam-User: X-Rspamd-Server: rspam11 Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=RHKKtGkM; spf=pass (imf18.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Stat-Signature: s67yo4kteh9itnbx5mzpzt57zgsphdzj X-HE-Tag: 1660094266-676220 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Three patch series - two that perform cleanups and one feature. The following changes since commit c8a684e2e110376c58f0bfa30fb3855d1e319670: Merge tag 'leds-5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds (2022-08-08 11:36:21 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-stable-2022-08-09 for you to fetch changes up to a9e9c93966afdaae74a6a7533552391646b93f2c: Documentation/mm: add details about kmap_local_page() and preemption (2022-08-08 18:06:46 -0700) ---------------------------------------------------------------- - hugetlb_vmemmap cleanups from Muchun Song - hardware poisoning support for 1GB hugepages, from Naoya Horiguchi - highmem documentation fixups from Fabio De Francesco ---------------------------------------------------------------- Fabio M. De Francesco (7): highmem: remove unneeded spaces in kmap_local_page() kdocs highmem: specify that kmap_local_page() is callable from interrupts Documentation/mm: don't kmap*() pages which can't come from HIGHMEM Documentation/mm: avoid invalid use of addresses from kmap_local_page() Documentation/mm: rrefer kmap_local_page() and avoid kmap() highmem: delete a sentence from kmap_local_page() kdocs Documentation/mm: add details about kmap_local_page() and preemption Muchun Song (8): mm: hugetlb_vmemmap: delete hugetlb_optimize_vmemmap_enabled() mm: hugetlb_vmemmap: optimize vmemmap_optimize_mode handling mm: hugetlb_vmemmap: introduce the name HVO mm: hugetlb_vmemmap: move vmemmap code related to HugeTLB to hugetlb_vmemmap.c mm: hugetlb_vmemmap: replace early_param() with core_param() mm: hugetlb_vmemmap: improve hugetlb_vmemmap code readability mm: hugetlb_vmemmap: move code comments to vmemmap_dedup.rst mm: hugetlb_vmemmap: use PTRS_PER_PTE instead of PMD_SIZE / PAGE_SIZE Naoya Horiguchi (8): mm/hugetlb: check gigantic_page_runtime_supported() in return_unused_surplus_pages() mm/hugetlb: make pud_huge() and follow_huge_pud() aware of non-present pud entry mm, hwpoison, hugetlb: support saving mechanism of raw error pages mm, hwpoison: make unpoison aware of raw error info in hwpoisoned hugepage mm, hwpoison: set PG_hwpoison for busy hugetlb pages mm, hwpoison: make __page_handle_poison returns int mm, hwpoison: skip raw hwpoison page in freeing 1GB hugepage mm, hwpoison: enable memory error handling on 1GB hugepage Documentation/admin-guide/kernel-parameters.txt | 7 +- Documentation/admin-guide/mm/hugetlbpage.rst | 4 +- Documentation/admin-guide/mm/memory-hotplug.rst | 4 +- Documentation/admin-guide/sysctl/vm.rst | 3 +- Documentation/mm/highmem.rst | 31 +- Documentation/mm/vmemmap_dedup.rst | 72 ++- arch/arm64/mm/flush.c | 13 +- arch/x86/mm/hugetlbpage.c | 8 +- fs/Kconfig | 12 +- include/linux/highmem.h | 7 +- include/linux/hugetlb.h | 24 +- include/linux/mm.h | 9 +- include/linux/page-flags.h | 32 +- include/linux/swapops.h | 9 + include/linux/sysctl.h | 4 + include/ras/ras_event.h | 1 - mm/hugetlb.c | 73 ++- mm/hugetlb_vmemmap.c | 589 ++++++++++++++++++------ mm/hugetlb_vmemmap.h | 45 +- mm/memory-failure.c | 179 +++++-- mm/sparse-vmemmap.c | 399 ---------------- 21 files changed, 823 insertions(+), 702 deletions(-)