Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp341091rdb; Thu, 25 Jan 2024 18:04:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwBeYOrvyiDJmYCdPFS/qhbwjLbKMZaTdlYfcllKiqhAEEjwwFjz0heGW0yPmxiDCJhHbJ X-Received: by 2002:a92:dc45:0:b0:361:8cb7:bf71 with SMTP id x5-20020a92dc45000000b003618cb7bf71mr767717ilq.5.1706234682633; Thu, 25 Jan 2024 18:04:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706234682; cv=pass; d=google.com; s=arc-20160816; b=vkGVmCkYxAEDaqGZVrR3cv9C2pPEYObckv7wnGL1yUsqfpydW8vtqnYiJQ1EXzSeMW tLnbeFdQzngCrp5/UOll98fLyYi14hTzClK7hhEUvSzguXTKrHNY/CaHS1jmIyievyT0 LcvZwFQrgDuqR95wBZACJlJbtSaJLZPgHO+clswZ1ZgAeeUP+2DjLdYR8cOHpb2gP7Hl 8oTD+xdd3cNducQf9F0/bRVy8OzwcilVcK2nH0Unh/bTWXFtwtMaTFyBtyr2Zqs/NK2p q5/udASbNV1cfdfvAPB3BWLJUNLLaRF/NsM8T3JCemSjDcQ3omL02PJoJLLkAfB1rr3n Qbig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=eDr0zB9N1C0CYEUngqPLWUfiX92wc1HFs4MZH7DDdKM=; fh=Oxi1Vq9Ep8aVodQu+lVziwLQHuty5HuRrFMhr9cTOmM=; b=ZqGq7H6GcRZoV7/nmLDmm0NIonXaxQ093e5mU+JIoEuZ8JOagI742avcu7lBm2nfGZ wqrL3oT9RNDaxshGGsX4MZYHRBY0REGuwZuuvotbzSXs4zr3hYrR5n9zuvz1O9koIKrr hpyndjYgJOfCYtHI0dWg3SToCdyTiv2f2vyyC9SwWCZ7RQSLRmr5sYEHVyuQ+06JenrB z5RBIRXmoeb5kRCk7jkLsqzcRN8QiPm36iLGqKo/ZopULvwDlBuJJRK1B3jNE30d4IY7 9fc2OnFho5hhhPjo4tEG6aW8RtT1gVJSpMx9M81EXMjWtRe+dM0AdByEepwRjGlNATlf T+vA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=tuc+1XPr; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-39526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39526-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s17-20020a63ff51000000b005d67007b43dsi256923pgk.571.2024.01.25.18.04.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 18:04:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=tuc+1XPr; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-39526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39526-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 450F428F215 for ; Fri, 26 Jan 2024 02:04:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2F278C17; Fri, 26 Jan 2024 02:04:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="tuc+1XPr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F420F7494; Fri, 26 Jan 2024 02:04:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706234673; cv=none; b=F9oV8HOYRWBb9b8S4AYtjCkZPwoVaQnNAXtuvoKRufm0w0EPj/sQQkBSFN6SbOHaOr/8NIDXzWa8GMHx38iDYhwT+M/f2uBUCbGxwM+FCQaWUlOBVihMDVEtPVfnV0FfpVhQvwIwEmHO9OFUbWfq9ongPAZA192F2h2XcC0lrUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706234673; c=relaxed/simple; bh=HWEos3+udILzj8RZ/TTxlduuwOKMV4VQFbTq8RZGoPM=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=TUNzMVTkMhXco5CY88G3U+j+BjwIx8fvemSPMTMifKuDTBZLDYNJU1XYzWCPXq1u20XuY6lo/JLx8UWTQ6iISIPn1m2JwF6AS6X8bifH5q/f4MRjsdXrVVj5BLDbYAe4P9n1+KvQTDQuz0z7DtqOCKKpFy94fXI6DT7rEyhGwEM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=tuc+1XPr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74479C433C7; Fri, 26 Jan 2024 02:04:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1706234672; bh=HWEos3+udILzj8RZ/TTxlduuwOKMV4VQFbTq8RZGoPM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tuc+1XPr+hUVWa4GOyLQhEugYXMMsybYvWuE0/xs82eeqs83luvv7hWozsTjDEJU2 xqH+oihlu/t9Hy0Adp3wCLYFeU2IG8f5LdvEXo7yJ7AqNEu5svDOvx1sFx40QZHZup Q5dVW0OiqBacQI7MjfRyUJZIaPhBJ+rifm367ymU= Date: Thu, 25 Jan 2024 18:04:24 -0800 From: Andrew Morton To: Suren Baghdasaryan Cc: willy@infradead.org, will@kernel.org, catalin.marinas@arm.com, palmer@dabbelt.com, mpe@ellerman.id.au, christophe.leroy@csgroup.eu, agordeev@linux.ibm.com, gerald.schaefer@linux.ibm.com, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King Subject: Re: [PATCH 1/1] arch/arm/mm: fix major fault accounting when retrying under per-VMA lock Message-Id: <20240125180424.121455beae4d56799a0bac28@linux-foundation.org> In-Reply-To: <20240123064305.2829244-1-surenb@google.com> References: <20240123064305.2829244-1-surenb@google.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 22 Jan 2024 22:43:05 -0800 Suren Baghdasaryan wrote: > The change [1] missed ARM architecture when fixing major fault accounting > for page fault retry under per-VMA lock. Add missing code to fix ARM > architecture fault accounting. > > [1] 46e714c729c8 ("arch/mm/fault: fix major fault accounting when retrying under per-VMA lock") > > Fixes: 12214eba1992 ("mm: handle read faults under the VMA lock") What are the userspace-visible runtime effects of this change? Is a cc:stable backport desirable? > Reported-by: Russell King (Oracle) > Signed-off-by: Suren Baghdasaryan