From patchwork Mon Sep 26 19:37:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12989367 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 30F05C07E9D for ; Mon, 26 Sep 2022 19:37:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 975886B00A7; Mon, 26 Sep 2022 15:37:32 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 924D98E007F; Mon, 26 Sep 2022 15:37:32 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7EC648E0066; Mon, 26 Sep 2022 15:37:32 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 6926A6B00A7 for ; Mon, 26 Sep 2022 15:37:32 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 26C661A08AF for ; Mon, 26 Sep 2022 19:37:32 +0000 (UTC) X-FDA: 79955245944.18.0797D15 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf21.hostedemail.com (Postfix) with ESMTP id 4B0B51C0009 for ; Mon, 26 Sep 2022 19:37:30 +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 sin.source.kernel.org (Postfix) with ESMTPS id CAFC4CE131E; Mon, 26 Sep 2022 19:37:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 935DAC433D6; Mon, 26 Sep 2022 19:37:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1664221044; bh=DFdmVNq4koq8KDXiELVv7wxAp32Ip7ewGkU3OOQRus8=; h=Date:From:To:Cc:Subject:From; b=15koPrK7MKoh7W6MjLRtyhEdDmvGP9FSuUw2WqBW5zeIXfJcmm9LViuH+HFqeBBAF X44KispDWdtyoz4noBDpxpNH/wQ82l6xBkh6BQT4bHgoLXAyPlhCBweh0/ydD/nvLj 6fOWvJWKgwLfcTbQhKwdKRdZyVZwSYNK/uY1TZXA= Date: Mon, 26 Sep 2022 12:37:21 -0700 From: Andrew Morton To: Linus Torvalds Cc: mm-commits@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] hotfixes for 6.0[-rc8] Message-Id: <20220926123721.2a1edc734b4fc516a9a350b8@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=15koPrK7; spf=pass (imf21.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664221050; a=rsa-sha256; cv=none; b=UdxS8MgO8IaFwzuXqFVnIVAAOmfrgg8mVHhAsKrttjVJ/sr1wi5Mdke1UWXqCNDgaZ8hN1 Pp+xhK/UzQWKbruNtfoaL9WayPdVcWYV20nm+bNAlde26x/r9+cytGAJspkMd++P39SixH 2Tc7gvCQQk0eAdGzjBnNJYpRoEJ+COM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664221050; 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=FgFpvx48EgVGIcUOr9IWmAy/SJRop+4gabn4T484quU=; b=fgeB9VRtrF6nZVQAfD7GgjUEV2T9Ynq4l2B9NC1wHZVWN1OAsElPRCh8whukiAMQ2FFBoI IAXMZDvb1QFlxMrhBzo8Jp2D1DG4x1kaaF7NUsm1zC+cajSh50XzV6vChk/kHpujZuaDDv CepVmn7B+rH348QS/bURKI3Ru/qRW2g= X-Stat-Signature: czhgd3om85rkz3rik6mgouwexef8k1m1 X-Rspamd-Queue-Id: 4B0B51C0009 Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=15koPrK7; spf=pass (imf21.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspam-User: X-Rspamd-Server: rspam07 X-HE-Tag: 1664221050-975729 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: Linus, please pull what is hopefully the second last batch of hotfixes for this cycle. The following changes since commit b90cb1053190353cc30f0fef0ef1f378ccc063c5: Linux 6.0-rc3 (2022-08-28 15:05:29 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-hotfixes-stable-2022-09-26 for you to fetch changes up to 59298997df89e19aad426d4ae0a7e5037074da5a: x86/uaccess: avoid check_object_size() in copy_from_user_nmi() (2022-09-26 12:14:35 -0700) ---------------------------------------------------------------- 26 hotfixes. 8 are for issues which were introduced during this -rc cycle, 18 are for earlier issues, and are cc:stable. ---------------------------------------------------------------- Alistair Popple (3): mm/migrate_device.c: flush TLB while holding PTL mm/migrate_device.c: add missing flush_cache_page() mm/migrate_device.c: copy pte dirty bit to page Binyi Han (1): mm: fix dereferencing possible ERR_PTR ChenXiaoSong (1): ntfs: fix BUG_ON in ntfs_lookup_inode_by_name() Christoph Hellwig (1): frontswap: don't call ->init if no ops are registered Dan Williams (4): xfs: quiet notify_failure EOPNOTSUPP cases xfs: fix SB_BORN check in xfs_dax_notify_failure() mm/memory-failure: fix detection of memory_failure() handlers mm/memory-failure: fall back to vma_address() when ->notify_failure() fails Doug Berger (1): mm/hugetlb: correct demote page offset logic Greg Kroah-Hartman (1): mm/damon/dbgfs: fix memory leak when using debugfs_lookup() Kees Cook (1): x86/uaccess: avoid check_object_size() in copy_from_user_nmi() Matthew Wilcox (Oracle) (3): tools: fix compilation after gfp_types.h split mm: fix VM_BUG_ON in __delete_from_swap_cache() vmscan: check folio_test_private(), not folio_get_private() Maurizio Lombardi (1): mm: prevent page_frag_alloc() from corrupting the memory Mel Gorman (1): mm/page_alloc: fix race condition between build_all_zonelists and page allocation Minchan Kim (1): mm: fix madivse_pageout mishandling on non-LRU page Naohiro Aota (1): x86/mm: disable instrumentations of mm/pgprot.c Naoya Horiguchi (1): mm/huge_memory: use pfn_to_online_page() in split_huge_pages_all() Sergei Antonov (1): mm: bring back update_mmu_cache() to finish_fault() Shuai Xue (1): mm,hwpoison: check mm when killing accessing process Yang Shi (2): mm: gup: fix the fast GUP race against THP collapse powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush Zi Yan (1): mm/page_isolation: fix isolate_single_pageblock() isolation behavior arch/powerpc/mm/book3s64/radix_pgtable.c | 9 ----- arch/x86/lib/usercopy.c | 2 +- arch/x86/mm/Makefile | 3 ++ fs/ntfs/super.c | 3 +- fs/xfs/xfs_notify_failure.c | 6 +-- include/linux/memremap.h | 5 +++ mm/damon/dbgfs.c | 19 +++++++--- mm/frontswap.c | 3 ++ mm/gup.c | 34 ++++++++++++++--- mm/huge_memory.c | 6 +-- mm/hugetlb.c | 14 ++++--- mm/khugepaged.c | 10 +++-- mm/madvise.c | 7 +++- mm/memory-failure.c | 27 +++++++------ mm/memory.c | 14 +++++-- mm/migrate_device.c | 16 +++++--- mm/page_alloc.c | 65 +++++++++++++++++++++++++++----- mm/page_isolation.c | 25 ++++++------ mm/secretmem.c | 2 +- mm/swap_state.c | 2 +- mm/vmscan.c | 4 +- tools/include/linux/gfp.h | 21 +---------- tools/include/linux/gfp_types.h | 1 + 23 files changed, 192 insertions(+), 106 deletions(-) create mode 100644 tools/include/linux/gfp_types.h