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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0A379C001DD for ; Sun, 9 Jul 2023 00:28:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229454AbjGIA2U (ORCPT ); Sat, 8 Jul 2023 20:28:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbjGIA2T (ORCPT ); Sat, 8 Jul 2023 20:28:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 660CEE4C; Sat, 8 Jul 2023 17:28:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EF8EB60B50; Sun, 9 Jul 2023 00:28:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 503BCC433C7; Sun, 9 Jul 2023 00:28:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1688862497; bh=PE0ZtakxCz57/oIalPMrehbn3vq+YCTe/8Q4AdaptbY=; h=Date:To:From:Subject:From; b=kimWg8Z0d/gwr90PJv/2ujKr5CW8U7kCS/rjYbPumkpufMgSbNJgs8ocCKr2iRNfF hXyyBR8B15aVGfcebu+OC1RJLlRd2QEx5BbcaKyjb7lWg+KAEBzcDwLPcXCj4G4D0M lZnea3RHE0G1TRdrXbeORCVFd/jSHGb6IoO5V88o= Date: Sat, 08 Jul 2023 17:28:16 -0700 To: mm-commits@vger.kernel.org, stable@vger.kernel.org, jirislaby@kernel.org, jacobly.alt@gmail.com, holger@applied-asynchrony.com, david@redhat.com, surenb@google.com, akpm@linux-foundation.org From: Andrew Morton Subject: [obsolete] mm-disable-config_per_vma_lock-until-its-fixed.patch removed from -mm tree Message-Id: <20230709002817.503BCC433C7@smtp.kernel.org> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The quilt patch titled Subject: mm: disable CONFIG_PER_VMA_LOCK until its fixed has been removed from the -mm tree. Its filename was mm-disable-config_per_vma_lock-until-its-fixed.patch This patch was dropped because it is obsolete ------------------------------------------------------ From: Suren Baghdasaryan Subject: mm: disable CONFIG_PER_VMA_LOCK until its fixed Date: Wed, 5 Jul 2023 18:14:00 -0700 A memory corruption was reported in [1] with bisection pointing to the patch [2] enabling per-VMA locks for x86. Disable per-VMA locks config to prevent this issue until the fix is confirmed. This is expected to be a temporary measure. [1] https://bugzilla.kernel.org/show_bug.cgi?id=217624 [2] https://lore.kernel.org/all/20230227173632.3292573-30-surenb@google.com Link: https://lkml.kernel.org/r/20230706011400.2949242-3-surenb@google.com Reported-by: Jiri Slaby Closes: https://lore.kernel.org/all/dbdef34c-3a07-5951-e1ae-e9c6e3cdf51b@kernel.org/ Reported-by: Jacob Young Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217624 Fixes: 0bff0aaea03e ("x86/mm: try VMA lock-based page fault handling first") Signed-off-by: Suren Baghdasaryan Cc: David Hildenbrand Cc: Holger Hoffstätte Cc: Signed-off-by: Andrew Morton --- mm/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/mm/Kconfig~mm-disable-config_per_vma_lock-until-its-fixed +++ a/mm/Kconfig @@ -1224,8 +1224,9 @@ config ARCH_SUPPORTS_PER_VMA_LOCK def_bool n config PER_VMA_LOCK - def_bool y + bool "Enable per-vma locking during page fault handling." depends on ARCH_SUPPORTS_PER_VMA_LOCK && MMU && SMP + depends on BROKEN help Allow per-vma locking during page fault handling. _ Patches currently in -mm which might be from surenb@google.com are mm-lock-a-vma-before-stack-expansion.patch mm-lock-newly-mapped-vma-which-can-be-modified-after-it-becomes-visible.patch swap-remove-remnants-of-polling-from-read_swap_cache_async.patch mm-add-missing-vm_fault_result_trace-name-for-vm_fault_completed.patch mm-drop-per-vma-lock-when-returning-vm_fault_retry-or-vm_fault_completed.patch mm-change-folio_lock_or_retry-to-use-vm_fault-directly.patch mm-handle-swap-page-faults-under-per-vma-lock.patch mm-handle-userfaults-under-vma-lock.patch