From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59D72C433DB for ; Thu, 28 Jan 2021 13:19:43 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AB6A164DDF for ; Thu, 28 Jan 2021 13:19:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB6A164DDF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 30FD26B007B; Thu, 28 Jan 2021 08:19:42 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2BE636B007D; Thu, 28 Jan 2021 08:19:42 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 138596B007E; Thu, 28 Jan 2021 08:19:42 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0032.hostedemail.com [216.40.44.32]) by kanga.kvack.org (Postfix) with ESMTP id E81916B007B for ; Thu, 28 Jan 2021 08:19:41 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id B0780181AEF10 for ; Thu, 28 Jan 2021 13:19:41 +0000 (UTC) X-FDA: 77755240962.07.cow97_29181322759f Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin07.hostedemail.com (Postfix) with ESMTP id 959451803F918 for ; Thu, 28 Jan 2021 13:19:41 +0000 (UTC) X-HE-Tag: cow97_29181322759f X-Filterd-Recvd-Size: 4111 Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by imf25.hostedemail.com (Postfix) with ESMTP for ; Thu, 28 Jan 2021 13:19:40 +0000 (UTC) Received: by mail-il1-f176.google.com with SMTP id d6so5164122ilo.6 for ; Thu, 28 Jan 2021 05:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cow24fgEnd60fVUr2CBX9vdbr4yWWqVuvtzr63SEizA=; b=HoFbP+Zib5UOipWa3W23Fi1MoIU070YNaq5BparQIgolVOtb7EhFAyEGoflJKUq27G SfV7TY3UAfWePauSGfIZbZMbSzdaOSmk7G31UYfkhh2lrrMHJy8EXGSr08lpe7us5Nmr e6+Lqz4a7EdYV8dGPJyk9gf+PffLDcY7qnwJtTRHGB9uy7GjH1O4DNCVS05Gs1Pcdwqr FK2iR9acytUeue/auHPno2+MG1E15Oiy8+V5R41n0fOwkwJ0Ib3WzKtYs7uws6CQacNj vS1fwm8KAX+CL3YQXVC9b2WzF8u9xNkFgF2FmzlxXa1MTlnbt96k0Ex7EYJWh7BAAchr 2jPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cow24fgEnd60fVUr2CBX9vdbr4yWWqVuvtzr63SEizA=; b=ac3jiwwZV5YazgPoWghVq4Ju6bxl3WufGbUD1N6Nv/lg9IG20H65usKWI7fY4ABbd8 JLneA8Gn3w+jbjXWJFid8mLiczeEopWRpOKzReqebZ0vJZCsfDHPO7T0eGjyWEWEmLmy QIEECWcR3kRvFZMSNbdKlkN+Mr0626RXJG5XOf7LuXZKbsI7jNALroFlsLP3dFhxFrnV 6Of2ZZ23t0FDleBZnrfpvx+yPrDAI5GLrTdRi2OqXj20u2hljTSiSZ3qd7F6dpcDBFAn ReFe23O35q1musfS90GiFbV/X5QTmsCp9mFAXeAAeq2oM0hgJFbDUykqE+skh6hJUkr3 oWEg== X-Gm-Message-State: AOAM531gFy3N1LDOaaA0sRH10khNfpJ7jFVCtqUE+C8wo6tZNVPjDgAG H0o0edDHqnbQXOHySRU9Ig5M6bY2ZTlMBAwstDA= X-Google-Smtp-Source: ABdhPJx+BDNyxHgnjhZTSAfixwEALTr8y67HbZhhAmj8GRTwYKd4hY/oomdsUZ0le75y3K9j5DpOtWJbuK861L3wl/8= X-Received: by 2002:a92:5bc2:: with SMTP id c63mr12865497ilg.142.1611839980051; Thu, 28 Jan 2021 05:19:40 -0800 (PST) MIME-Version: 1.0 References: <20210128021947.22877-1-laoar.shao@gmail.com> In-Reply-To: From: Yafang Shao Date: Thu, 28 Jan 2021 21:19:04 +0800 Message-ID: Subject: Re: [PATCH 0/3] mm, printk: dump full information of page flags in pGp To: Andy Shevchenko Cc: David Hildenbrand , Vlastimil Babka , Christoph Lameter , penberg@kernel.org, David Rientjes , iamjoonsoo.kim@lge.com, Andrew Morton , Petr Mladek , Steven Rostedt , Sergey Senozhatsky , Rasmus Villemoes , Linux MM , LKML Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Jan 28, 2021 at 8:12 PM Andy Shevchenko wrote: > > On Thu, Jan 28, 2021 at 10:19:44AM +0800, Yafang Shao wrote: > > Currently the pGp only shows the names of page flags, rather than > > the full information including section, node, zone, last cpupid and > > kasan tag. While it is not easy to parse these information manually > > because there're so many flavors. Let's interpret them in pGp as well. > > > > This patchset also includes some code cleanup in mm/slub.c. > > > > Below is the example of the output in mm/slub.c. > > - Before the patchset > > [ 6155.716018] INFO: Slab 0x000000004027dd4f objects=33 used=3 fp=0x000000008cd1579c flags=0x17ffffc0010200 > > > > - After the patchset > > [ 6315.235783] ERR: Slab 0x000000006d1133b9 objects=33 used=3 fp=0x000000006d0779d1 flags=0x17ffffc0010200(Node 0x0,Zone 0x2,Lastcpupid 0x1fffff,slab|head) > > > Please, add a corresponding test cases to test_printf.c. W/o test cases NAK. > Sure. Will add the test cases in the next version. -- Thanks Yafang