Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1481803pxf; Fri, 19 Mar 2021 08:05:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJye2IOv3UJ7dEI3XDHpZJr/sNuTXdtI42EHR4f/az2juLeOt+ozPMmKcuGgLhDL3FGFCNRh X-Received: by 2002:a17:906:ae96:: with SMTP id md22mr4662798ejb.409.1616166322386; Fri, 19 Mar 2021 08:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616166322; cv=none; d=google.com; s=arc-20160816; b=S0CZXU58o9QAz68m5sTcY4V/M53a6arTDQXaPea+V29j82FT7v6wJQrZKcrIvVF1hw tRPOxlpbuRw4dJPAwmJcmceeGbh635NQYAlHU0hMC2A9zd8ttWnZYJg5tEnD2Av9p0CG 2upiREk5M7TOu5CTUZI9SSy8cnyRr6l/y3SmiWeiyGZWvNXEwmUSliRoSyXUyGMTsSZs 0UGDJix9QQrrUTFpZ7nJe/KqzGV48cwnE8uHFDHHMQ4/mjbnAH39Y6/UTxTantoyMNJJ 6dvPS0qk1qBOC+MGZri5AQDc+8MI/T5y7ZnmQaO2mkYeFJr2QfZEixqXK4rtR7WlIhwt HZ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=q7Roh7B5+FwQQexECP34LRGge0KD+9IdWHo1Er07uE0=; b=fWdc2rt2pmkQ7RTldhFSMY4UdZmzZg9Ta8ceFR68RiUrfIS5MwRe1BsIVw7PuHI6iM pejPvEXtQERWGeV2gQNVyVlW38695jWXzrsJBI+q6XFk0o7C0eCdPkDAw3oE3tj8Bs+x YKKUu1DZ+pCNP5TLL0p4KutOHY66rQ3Z9QDZsyn5ukJJ3+mVNKGuXH7HrmZtFTD6bdOG sKurKwwF2/XWf1FcmcEJB3Nzfy01Awz0OyzADYIWBq0TQO3XC6ZKjBpux9reFb1UuyWK zDUR+eumTkfK5bEzYwI4B07fYas2+bHv37XGup1G9K830HAaRv2oUKovqYaxc7uusxss L6HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=i3kH2vg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si4292006edr.46.2021.03.19.08.04.58; Fri, 19 Mar 2021 08:05:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=i3kH2vg4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbhCSPDy (ORCPT + 99 others); Fri, 19 Mar 2021 11:03:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbhCSPDV (ORCPT ); Fri, 19 Mar 2021 11:03:21 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0739EC06174A for ; Fri, 19 Mar 2021 08:03:21 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id v2so3861564pgk.11 for ; Fri, 19 Mar 2021 08:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=q7Roh7B5+FwQQexECP34LRGge0KD+9IdWHo1Er07uE0=; b=i3kH2vg4RsZbccsmkM2GFQkVr/zwjO7RemoQUXUoIr7wfFJm9ZZ3MLzkl8lytEX5YA 7OOIa9cJPIQhCIIxcbliLvLHLwAmw3G7BGAfj94cR1lJpYo7pifIdMwttDgfK0M+oZs9 YMWXgd1sg32vMCiGf0MsnxAerHRh/EwFeNJ4Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=q7Roh7B5+FwQQexECP34LRGge0KD+9IdWHo1Er07uE0=; b=PODB5xzTXwMkOvzJcaPKeseYJCwzUOxDNi9MiYt7LTSrDiPVVG+L7PAcM8hOQ7H7ya 7KSMzWkl2u9qJTef0V/HxVAXjU6B5n6QQltWcxao4JEkt5Q0UFNFRY8sLqv9ljOjSFKo dk59Ng61T4I0QlxTAhMZKXC97ysqxpXav3vjnpIy7zyDbVPvtURVMJsG0B8SrfXpeHF3 XCD/+D0pZf38nKfr8ONtrU1NbQMxucqxX3GAijqTknIkM8LmQgg/v0l8HmCkty/9i3oM 21a6wenusqvF4AmHfN3UnqxE52ym16DIbFZYce+NwLOCslFN7sWtRUypSfZnM5MhnloF 9q/A== X-Gm-Message-State: AOAM533kxmCMHmz22fXvhdG1hRLsYrutLoXSzwRH40iQZILOoGCCSvNz kJdEToREIvk4kKGpFYL3h85UoQ== X-Received: by 2002:a65:41c6:: with SMTP id b6mr11563567pgq.7.1616166200586; Fri, 19 Mar 2021 08:03:20 -0700 (PDT) Received: from google.com ([2409:10:2e40:5100:6577:f83d:5865:dfac]) by smtp.gmail.com with ESMTPSA id y15sm6607609pgi.31.2021.03.19.08.03.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 08:03:19 -0700 (PDT) Date: Sat, 20 Mar 2021 00:03:11 +0900 From: Sergey Senozhatsky To: Yafang Shao Cc: pmladek@suse.com, willy@infradead.org, andriy.shevchenko@linux.intel.com, david@redhat.com, linmiaohe@huawei.com, vbabka@suse.cz, cl@linux.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, rostedt@goodmis.org, sergey.senozhatsky@gmail.com, joe@perches.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, lkp@intel.com Subject: Re: [PATCH v6 resend 0/3] mm, vsprintf: dump full information of page flags in pGp Message-ID: References: <20210319101246.73513-1-laoar.shao@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210319101246.73513-1-laoar.shao@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (21/03/19 18:12), Yafang Shao wrote: > > The existed pGp shows the names of page flags only, rather than the full > information including section, node, zone, last cpuipid and kasan tag. > While it is not easy to parse these information manually because there > are so many flavors. We'd better interpret them in printf. > > To be compitable with the existed format of pGp, the new introduced ones > also use '|' as the separator, then the user tools parsing pGp won't > need to make change, suggested by Matthew. The new added information is > tracked onto the end of the existed one, e.g. > [ 8838.835456] Slab 0x000000002828b78a objects=33 used=3 fp=0x00000000d04efc88 flags=0x17ffffc0010200(slab|head|node=0|zone=2|lastcpupid=0x1fffff) > > The documentation and test cases are also updated. The result of the > test cases as follows, > [68599.816764] test_printf: loaded. > [68599.819068] test_printf: all 388 tests passed > [68599.830367] test_printf: unloaded. > > This patchset also includes some code cleanup in mm/slub.c. The series looks good to me. FWIW, Reviewed-by: Sergey Senozhatsky