Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7743405rwl; Fri, 30 Dec 2022 13:52:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXsYs/n3mNgoY4TlqWpwjUhn7fPRfE2A8POeXP5OVtnck5oMZHTz7iachWbaINxwU7ze+bR3 X-Received: by 2002:aa7:da42:0:b0:46c:2034:f481 with SMTP id w2-20020aa7da42000000b0046c2034f481mr35277883eds.8.1672437151646; Fri, 30 Dec 2022 13:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672437151; cv=none; d=google.com; s=arc-20160816; b=ADN/mTwq+G/QVUzj7YbKVQKA0v5dGbw/4OdVeLgG61pInFjFzBNImN441Rf8ZaX3Do 0uPPHz3Z/G3MxL4GyrDxmBD2jF/3uhIT/BMxn9PxuJrr+AEwhH0NJSXUdtSX1TAHjGSY f2vzPcWZw+Lat1upa7d4BKXRMN/u3dmnbpuSeBMln19GjYrh4/Uw8qQmdG+NPLb9nJX/ ka4U8T7Bb6yHIxzv9tg+sg/DjgSezWSajcW/aomCj2Jk7caY+/Kg3XinIIMG9mpnLaoN nrxDEogoMo3eFW3p2FdUa+g5ZT9UwtW8VpDq+JpQOH6UNadz/FuQciJAudJWdcrKXQn9 jpCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=9wP9OXQWrUGIHc/sjOuFDatzFR6gyG2fp713Z1pYixE=; b=Fs76Y8/qBCbGxYKSxO8hCPrAjso/kFdukp652MtqfxH55ShOWUg7IwNQma/ggAxONd nejmzORFumyqRkX6U/JqFCg7gEeI5oTJVddkhiD65nCdP0udoUr1mK3X/4fbh7/rGaMU bUzxba4pukHOKzOaaZzpUEHwSqfpZ/DzCc9OE06kBoDC1G7tvGcXooFbkS5k4agWEdkh DDMmn04vT1zoxZAEs8zGklLS3RLAPIMMo+hCZguPlxC/Z2IlYDLPj4GBAHtfgeu1j9bV 7COsmrKgugxNvaDHdi/2dD+F/QjZFSBxf8xa9HBtZK6lIPGazWs32tLZAxQy04mfVjLJ jjwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=RGUPm78E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dy9-20020a05640231e900b00469af6681b1si16954378edb.183.2022.12.30.13.52.16; Fri, 30 Dec 2022 13:52:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=RGUPm78E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235455AbiL3Vhb (ORCPT + 62 others); Fri, 30 Dec 2022 16:37:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbiL3Vha (ORCPT ); Fri, 30 Dec 2022 16:37:30 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22C26183B1 for ; Fri, 30 Dec 2022 13:37:29 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id B460E61A04 for ; Fri, 30 Dec 2022 21:37:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9109C433EF; Fri, 30 Dec 2022 21:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1672436248; bh=RZWdt4XB8oEYqOJ7TLXEfy6u/9vVjgHGC22vojYrKuU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RGUPm78EnqTjCsNChvzK/JAJLkKHy/pRjs2cDdrWEYOCcRMiT+bxuyebdvT5v2H1B Ucreh0yjL2j9LcCuoTQyKje3u4cvxCg9M2BRFt99vYpnVPl2QpvsRhwTLq9T/dH1Aj bZ5+NJ9xelnti/PLqfPQmzxYCRWc8GwbloqVhF6k= Date: Fri, 30 Dec 2022 13:37:26 -0800 From: Andrew Morton To: Dmitrii Bundin Cc: jan.kiszka@siemens.com, kbingham@kernel.org, gregkh@linuxfoundation.org, mingo@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, vbabka@suse.cz Subject: Re: [PATCH] scripts/gdb: add mm introspection utils Message-Id: <20221230133726.4c2e7e148a8a6627cd621e0f@linux-foundation.org> In-Reply-To: <20221230163512.23736-1-dmitrii.bundin.a@gmail.com> References: <20221230163512.23736-1-dmitrii.bundin.a@gmail.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 30 Dec 2022 19:35:12 +0300 Dmitrii Bundin wrote: > This command provides a way to traverse the entire page hierarchy by a > given virtual address. In addition to qemu's commands info tlb/info mem > it provides the complete information about the paging structure for an > arbitrary virtual address. It supports 4Kb/2MB/1GB and 5 level paging. Seems neat. Should it have a check that it's being run on the supported architecture? Or do we just rely on non-x86_64 users learning not to do that.