Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1949923rwb; Mon, 7 Nov 2022 07:32:53 -0800 (PST) X-Google-Smtp-Source: AMsMyM5fXHVHAFgdgYHEXdhM3OU1klHmobQ6uyf+V6b8ThkXWh8aCVIG1/CScL1eReePt957C7xh X-Received: by 2002:a17:90b:4b46:b0:213:f97a:ccd8 with SMTP id mi6-20020a17090b4b4600b00213f97accd8mr38350498pjb.55.1667835173485; Mon, 07 Nov 2022 07:32:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667835173; cv=none; d=google.com; s=arc-20160816; b=cFHoaAnPo3/ujvn5vgPrj8/mpojsv36COQ6Gfw7OfTs9Otzw5oM17qAPTNpi4Caa/P PiboG1+7SUMVnbtpu+p/EhEnah8MiFIBsIe84+MYDwnKIygoBI5pcRYfBPE7IwzFcuRp ZX7WaXj+cYsPOu+28uzHqVJGGfFe957XSrtmn3CTilx/ZxjYdmRzoo00uK7Mr6K9tWg8 vD46QSPI+6ZIvnGXzTww8FATcOAB0Vtsj/HktKveQm/kXKSk90jKB2hBAKvrH6DJxoCR i+jOUjWApYoQ5Hm+qe+ZfFwwzK9jQIVowYyY3S+TYEdJQYirdrxeEAGkViXGIk6skICD B76A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=lkcnJIidmcthjbLfwzkGMkevuVAYwssj0XEa8OiPLdE=; b=Qjz0GgUaXaSjNTfbzekGPTl+m5f+V1keqYUpA55fhFR+ADTSewlXNT5nnYLEy+GsQM nvRwpol7twczTdH4eIHL0QO19PrcJsrbRiSuX8jOm+hyw760xjtxjCcGhnJ6duN4dr3Q jtoFiDer4FA+H3cEpUtXZCB3Sw0LhRsPamgw71zmaa4St6YgoEmzOcJfQ1QDgmiLXsL0 aqljCRiZbU3WDbrKOwE4UlCmBNAvpmrpZgMYkmK1Tpr55mGv4U/F34J4e7O+GkKCjaXC Ab3phFBArDSaO/KYKDQbXmvQPc2wofRiFETUGDZ7nZchkNSCVqGCLu2IfBmfsOWu/KOB gOZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZnyKKamf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q207-20020a632ad8000000b00462566bfda8si10948755pgq.788.2022.11.07.07.32.41; Mon, 07 Nov 2022 07:32:53 -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=@intel.com header.s=Intel header.b=ZnyKKamf; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232193AbiKGOlW (ORCPT + 92 others); Mon, 7 Nov 2022 09:41:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232157AbiKGOlQ (ORCPT ); Mon, 7 Nov 2022 09:41:16 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9C281A05D; Mon, 7 Nov 2022 06:41:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667832075; x=1699368075; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=u3e6+JJ5A3zX1Hk0G74jg5cr+39BSLGe2g515DJqP0M=; b=ZnyKKamfg9C/tojgiRre23ItnUFX4z1pEe+e6ah2bLO+q8tMQYjFIu9p Crhi7NzOKW8OGazR0/6g/OsQrtJbesipBWL7uhQYioGRM4qkAG6Tx8cvT Fc/Hy6mMdmMJRDFmynbp9yhr63DzfuhoCsqbfRKQGN8gYpNl+OVKA1ku0 5b8dNbeTpsmaBmkelZ0XqwElvxjjd9qA0jw3dLShWBlqteIuRbWgLvsIA 6DRxMxLE+Vwnhj3ZfoQi0d2UDA9C7w8uof/mOrf+CDVcOVWr/IsCG5Zgt rm9MAstwqBOBcCNP5QVbaJHLsOJwA6y3xlSYIFGmi40w3emmJKL/wMQy5 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10524"; a="374674887" X-IronPort-AV: E=Sophos;i="5.96,145,1665471600"; d="scan'208";a="374674887" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2022 06:41:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10524"; a="704894936" X-IronPort-AV: E=Sophos;i="5.96,145,1665471600"; d="scan'208";a="704894936" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP; 07 Nov 2022 06:41:09 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1os3JB-008hYc-2r; Mon, 07 Nov 2022 16:41:05 +0200 Date: Mon, 7 Nov 2022 16:41:05 +0200 From: Andy Shevchenko To: Petr Mladek Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>, linux-mm@kvack.org, Andrew Morton , Christoph Lameter , Pekka Enberg , David Rientjes , Vlastimil Babka , Naoya Horiguchi , Miaohe Lin , Matthew Wilcox , Minchan Kim , Mel Gorman , Andrea Arcangeli , Dan Williams , Hugh Dickins , Muchun Song , David Hildenbrand , Steven Rostedt , Sergey Senozhatsky , Rasmus Villemoes , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC v2 3/3] mm, printk: introduce new format %pGt for page_type Message-ID: References: <20221106140355.294845-1-42.hyeyoo@gmail.com> <20221106140355.294845-4-42.hyeyoo@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 Mon, Nov 07, 2022 at 03:20:34PM +0100, Petr Mladek wrote: > On Mon 2022-11-07 13:18:52, Andy Shevchenko wrote: > > On Sun, Nov 06, 2022 at 11:03:55PM +0900, Hyeonggon Yoo wrote: > > > dump_page() uses %pGp format to print 'flags' field of struct page. ... > > > [ 1.816443] page_type: 0xffffffff() > > > > Why do we have empty parentheses? I would expect either something there, or no > > parentheses at all. > > This looks fine. format_page_flags() does the same for %pGp. ... > > > + %pGt 0xffefffff(slab) > > > > No space before ( ? > > Also looks fine. %pGp does the same. Maybe we can modify them before or after this change? -- With Best Regards, Andy Shevchenko