Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp592499rdb; Thu, 1 Feb 2024 19:22:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQStFe0s7SRtEU7vuzWYJOKMra7TGO2VKsV0stOP1iC0z+ewjGRIVoRpqU0v3UpHKBm8l1 X-Received: by 2002:a17:902:c404:b0:1d9:5ef2:a562 with SMTP id k4-20020a170902c40400b001d95ef2a562mr1650690plk.10.1706844152930; Thu, 01 Feb 2024 19:22:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706844152; cv=pass; d=google.com; s=arc-20160816; b=0XJM0rH0RhBY9i0v2GSbnYiGYfQFiBSE8EzauYtq5aqNf36+1aLbmMskgOIEd9tG+O nqYbFwLgJONe3HnFIoX6CkBdAMlPfXZAfduELrOnjpoklvVCB8PsEWDB9xox9WNtG+rw MBSVLNzUk3eaVNemJQfocSIz80Z1MX2lWVtCgFuoY4EvheIzvYuZ2b4CO+zRvdMkzEMy D8/AK+NOVzqa0QH6Uf3fpwmEawD+5sw1eaKpE1LUqgI/c4VEHK+vJB7GkAxL+4hrsQ6b KatLeoTjjleJ56snoz1sxUFeP9QHML031hv7xXsRXzuPmesenQBI6kN15svS0BiukTlN sn1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=hrrbzyhWydlS8Xk/sEBJXzD8ErCx+QyvPiHcxbCKTO8=; fh=S1NbOgodaUtIq/ID1AHi9kvTVTodCP6uenmycGRjRN8=; b=YyNzb2Jmm1K+oECanqSzcWB45Qv++TNQhwco4WiADrBknJ/gSbkyYQkM8xlCRwqzen 4gLLj996+pBQ7Q4cT5BzkJalqfWNk74XhN8wzaxcO1PrGsdhBkJ3kP4f46LC+/N1aU5s A4I4Ep+uKuVYd7IElcSmdfieCG2VWNt00njIK/TtDPgOeOXxjmZbp06719FifaLTEjvi ArM9FWQUPPhf0KJvyJaNAPWLCoIY2yyTTLaB8U/29eP6IFqSZa1GLL1HqQAGN+uaUEot wk+H2kdIXB5lBC0G35uZj1H9fPZUHNQzxyt/xOUSMAm254sJA2bIN3cF/XihRkg2YtYn TytA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=fD8ihIZV; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-49140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49140-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev X-Forwarded-Encrypted: i=1; AJvYcCX9U9r38OCwHI8C7BNvpr6SFHKBYDAu0AuUF/5Y3Z7MqBqOsPTkOD7Kia5kdEOTrP7l8hNElu0MPP29mXa7C182mIBqHSSVI8pk7/oThQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id a20-20020a170902ee9400b001d94c4938afsi914035pld.237.2024.02.01.19.22.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 19:22:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=fD8ihIZV; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-49140-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49140-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E1098B24E6A for ; Fri, 2 Feb 2024 03:16:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41A6DCA71; Fri, 2 Feb 2024 03:16:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="fD8ihIZV" Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (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 77A7FF9C2 for ; Fri, 2 Feb 2024 03:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706843806; cv=none; b=TJJK8zxo55IH6KLB85B0nJpI5camBlzsusX9tdT5LTtcVzq7bgbY5iGGEVfDP/lzHI56Fia9/lRvJSpnlydpymQQxxPWSGvb4ZKOcrI/UmGhwK3AKqMmV6Oq4LCrWJ+04ww/xHx3jfqecx+1DCHUd+caA4DaovHUx+MEZF6dC+c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706843806; c=relaxed/simple; bh=+HM6b3J4KRsVwmwcl2Sz7q6Tzn+kSIwtUuSs2wF92vE=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=rl7DgSSvU/aCIWJLtOrY1JSb0gprs2WaAqu00Y6EoR6jaEw6pWhf0jJbSddkzeFXvKB99KaKrgaB6+msUl7MYFojYYCz2Q+fygsfAl5Zt1cfKx18cOaUxU/e7xblURaPbXOa1rTyg6fqFfzXzsxcxGqwyD/BznVbJR9gZbp0TIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=fD8ihIZV; arc=none smtp.client-ip=91.218.175.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1706843801; h=from:from: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:in-reply-to:references:references; bh=hrrbzyhWydlS8Xk/sEBJXzD8ErCx+QyvPiHcxbCKTO8=; b=fD8ihIZVvkBd1uw8RGSQLSex9Hr25nnHMFBhxkXWVRjZFMYpeZMheeDc2dha3/ZOctwEBu 4eDhdSNfHMCpH3yKsk8Hu7lkh4ybOxZOHVyDk7hrSj/0pUK6IelR3YsmjRZ8xF1QyPbnJ4 9IqwEZWWmZHmIbqPbYBn/rQeDXDpD6c= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Subject: Re: [PATCH 2/2] mm: pgtable: remove unnecessary split ptlock for kernel PMD page X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <63f0b3d2f9124ae5076963fb5505bd36daba0393.1706774109.git.zhengqi.arch@bytedance.com> Date: Fri, 2 Feb 2024 11:16:02 +0800 Cc: Andrew Morton , Arnd Bergmann , david@redhat.com, willy@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <996AA3FE-47DD-408E-960C-EB805DBE8EFE@linux.dev> References: <63f0b3d2f9124ae5076963fb5505bd36daba0393.1706774109.git.zhengqi.arch@bytedance.com> To: Qi Zheng X-Migadu-Flow: FLOW_OUT > On Feb 1, 2024, at 16:05, Qi Zheng wrote: > > For kernel PMD entry, we use init_mm.page_table_lock to protect it, so > there is no need to allocate and initialize the split ptlock for kernel > PMD page. > > Signed-off-by: Qi Zheng Reviewed-by: Muchun Song Thanks.