Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp581106rdb; Thu, 1 Feb 2024 18:48:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxN67g/WotcredXDoR4sbZhvEhV4YeBZkRcPyt8HQtOv4YqBp6/ihNF6YlbEZOZhnSTvMB X-Received: by 2002:a17:902:ea08:b0:1d9:55b:6a4c with SMTP id s8-20020a170902ea0800b001d9055b6a4cmr8821495plg.32.1706842119010; Thu, 01 Feb 2024 18:48:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706842118; cv=pass; d=google.com; s=arc-20160816; b=TLmiqCYh4JwqwUtiYlrd7UyXaPfhqohDEvgBM56NTJl0tia8d7nOoIC04psijs2H60 UF3UUpUYowMVfli3t3hPiwI2byYsnB3ket0UbTi7ENgJnIajvA6M0+GKDOAfV5n9x1Du x7Bj46yIFB46FRTUMef/GiZYZ3vddsvUL9gLiOg4+nsmSj+YrrNerA6PM9IrySn61gJR yL1RQGviI3jOXdqSzTpp2rSDyaZS32dH0NvmHnKVOv4fg8Pmo1X4W6e11oslghSTvQ1Y E2vy1bnafPpZCVbEK9j8m6GUo+oSKSG7iTMoVNu9OiuDHsMCP9WEl2ua/bCLEApiHPYA g1/w== 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=mF7FTBqL1wruOvwY0oHy4r35LgNgIlPN2kq6tk9075c=; fh=OA8chFVIlzhS+Oh9TJvoZ2JuQSqbflxLS9wK0tZtxPI=; b=onXnoleEbk61k8ezrxUFiarfJ18JGxy/kw1ZjIw1kEkrNHCOv7U/163q3xhl6dWZ56 CQD/f/LeOGFZ6PniH4gm7fF3rfSgyUGbk2Xna4hl9qMkSUnCqTxU36KexynfaUGT6YKb 7eerk2myk/bCMxwTQUOk0xBMHvHrFp8uU0Y3jon2tyvVMhs/fzMIq/MBSWaDtGf7cY5d x3dh5qQhJA81u4EAMknlhw1P79+Su81KATQRTxM4tgUKllv5+BTRbwmaEJis4k7oDKBc DCqtLgE0Spn1GVcV2Mmjno+afRyKzNTib1PuaA/U/LBa3zh6zdWujaSNNGEhnxXMe8ll 9Q0Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=gCsC0g1f; 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-49113-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49113-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; AJvYcCUAsEJaS7YwQmsvn82ycBUCzREvEZ9pbC76BEWgJvXjUq4btDTZI38jJTfsNPnYb9jmNrqie1cwHVnoWHNJBNjDE29nATZP97oyqpBL9A== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u13-20020a170902e80d00b001d961ebf325si932741plg.148.2024.02.01.18.48.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 18:48:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49113-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=gCsC0g1f; 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-49113-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49113-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 B69D7B24368 for ; Fri, 2 Feb 2024 02:48:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B55ABBE7C; Fri, 2 Feb 2024 02:48:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="gCsC0g1f" Received: from out-174.mta1.migadu.com (out-174.mta1.migadu.com [95.215.58.174]) (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 5950CBA48 for ; Fri, 2 Feb 2024 02:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706842104; cv=none; b=cDXPy8J9ptQKjQkqlnmmv6tQ1VjZICwkJCgyP5cxllmw4Hz/UEEZXHoPGM6CowHF67cxh1zMVRxmB7mfYGyMak06BPWMRwmq9cD4p+yQrDV5hJ8Tn7tVBgGtSzNBXZk5hzic+/e0bwYtg2uTdKua57BtmvKleucnpDgK3r61M28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706842104; c=relaxed/simple; bh=zIIpUuEoGAvnfSEBReTZfSlHCEQaoLye+kascfFXjWc=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=RXuphnXFBYWGgq7oCdy7QQ0lZJUxJzQ6vn2yd6BjO2lmZ5mqpRBnBI4ihRrRufBZN6a2kJGDDZWSPfAJbwf9WpN8SQGqfdjXmc19cybDVF86dbwlwJYx6UhQxcc8QuDi0kJxj1FTFcKqyZLVxg9lDSvyS70iYq+99SMd+220wbg= 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=gCsC0g1f; arc=none smtp.client-ip=95.215.58.174 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=1706842099; 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=mF7FTBqL1wruOvwY0oHy4r35LgNgIlPN2kq6tk9075c=; b=gCsC0g1fiYWL4j1hVqwtCkt8EfpdQt6ijcnoO92PxSnEglzx7yCrIFc3n6eJN2tOuoke2G U61IE+3Uy4EyKKfFTgPgLCOqUDMVJt4BMFyurzixOAJhSsqBBWYQ/5zFm/zKDFGSVecJ6d r9FkbIzxCE5zhXf6+MDWztFcBMV9yR8= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Subject: Re: [PATCH 1/2] mm: pgtable: add missing flag and statistics for kernel PTE page X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: Date: Fri, 2 Feb 2024 10:47:41 +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: References: To: Qi Zheng X-Migadu-Flow: FLOW_OUT > On Feb 1, 2024, at 16:05, Qi Zheng wrote: > > For kernel PTE page, we do not need to allocate and initialize its split > ptlock, but as a page table page, it's still necessary to add PG_table > flag and NR_PAGETABLE statistics for it. > > Signed-off-by: Qi Zheng Reviewed-by: Muchun Song Thanks.