Message ID | 20210314083717.96380-2-laoar.shao@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=WpnT=IM=kvack.org=owner-linux-mm@kernel.org> 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=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 48BF7C433DB for <linux-mm@archiver.kernel.org>; Sun, 14 Mar 2021 08:37:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DD4B464EC4 for <linux-mm@archiver.kernel.org>; Sun, 14 Mar 2021 08:37:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD4B464EC4 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 6F0956B006E; Sun, 14 Mar 2021 04:37:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6A1546B0070; Sun, 14 Mar 2021 04:37:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4CCCA6B0071; Sun, 14 Mar 2021 04:37:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0064.hostedemail.com [216.40.44.64]) by kanga.kvack.org (Postfix) with ESMTP id 2D86C6B006E for <linux-mm@kvack.org>; Sun, 14 Mar 2021 04:37:47 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id E677F180275D4 for <linux-mm@kvack.org>; Sun, 14 Mar 2021 08:37:46 +0000 (UTC) X-FDA: 77917826532.19.64342FF Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by imf17.hostedemail.com (Postfix) with ESMTP id 7F01B407F8E8 for <linux-mm@kvack.org>; Sun, 14 Mar 2021 08:37:46 +0000 (UTC) Received: by mail-pj1-f48.google.com with SMTP id ha17so6475528pjb.2 for <linux-mm@kvack.org>; Sun, 14 Mar 2021 00:37:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JNJwfxygBk8och6dkCm3Z6jjDTILZpQ6YdR+YYjbt2o=; b=WOPZnEPTCfPmKaWtnRdh31FiRGZs2NIdID2ASjad7I4JZl36UhWrcMHy0MPtU3K6cs 3lTi+73oLkW6tZdoChX9ziYWNYxMlxfLda4xzOVfb3ZwijAzaZcdAOO/ixHHsxdx1nib 2NV3Y/f026o4M1xZc7zHvPqm7io3al4sufjywiBN7P7DLwkC9Zhsmfudu9oWsvpJPHtQ qTEd3f5s6fvrWYbCOIn2+gqB5MZ77vw1yf7I7qZbreYZtdhea1HUDcGdgQua5wBC8ZZx FZOWtp/Fd9J9AswkAzGTmddGBmyZ/Iv2sV1KZN9LHrBY6OwuYwKis4yddStItWVgTjXP f/kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JNJwfxygBk8och6dkCm3Z6jjDTILZpQ6YdR+YYjbt2o=; b=OHPCcYs1kZmlB5Riq+hui7wnjgM9E9jttJ1k09/qd4FUmQb/y/CcH69SiZcBhcnhmi B1wZSzCqqiF8lQSLpmfK7VMcZDhRpzkGUTM1h/mcTVR3qHcdyYpnYRczEy5cX5HSgnHv pII2uaZrRvOWZiiYbDBsRm353Zy828QEXGZBz7InGz2o1c4S0vLB2Qu+nDOAXAeJ2jDK GbCYVs6fpaalLu5Ee8glvmGab1Q6mJ1RL7OZM43knjOjD1JsCQM/GJkaLTfBqmZl8ilW 2PvEX0DEcDnmFLjt/cvqHwzANza7LnDb+Mg/70AjUZexARa9jmXG7H+OUuYWnQBHSClc 69Og== X-Gm-Message-State: AOAM530VhqO3fwlAsY5BuxP/1z6TJhZDX6FdIGzjFDwQ4DzhgRKqwflm iRNRd9HVGDhFfY/S2dZpvX4= X-Google-Smtp-Source: ABdhPJzPybjeyHBLvaO48RQbVJnWPpfO8yapizyFqEhGdIL1M0Oo03KJbYvalNWol/SyvQY+kYDbnQ== X-Received: by 2002:a17:902:8641:b029:e4:7e05:c916 with SMTP id y1-20020a1709028641b02900e47e05c916mr6004931plt.57.1615711065661; Sun, 14 Mar 2021 00:37:45 -0800 (PST) Received: from localhost.localdomain ([50.236.19.102]) by smtp.gmail.com with ESMTPSA id s28sm10462585pfd.155.2021.03.14.00.37.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Mar 2021 00:37:45 -0800 (PST) From: Yafang Shao <laoar.shao@gmail.com> To: 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 Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, lkp@intel.com, Yafang Shao <laoar.shao@gmail.com> Subject: [PATCH v6 1/3] mm, slub: use pGp to print page flags Date: Sun, 14 Mar 2021 16:37:15 +0800 Message-Id: <20210314083717.96380-2-laoar.shao@gmail.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: <20210314083717.96380-1-laoar.shao@gmail.com> References: <20210314083717.96380-1-laoar.shao@gmail.com> MIME-Version: 1.0 X-Stat-Signature: r1hkaop4gz8x3pdjjmdg7b51jk7ufngz X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 7F01B407F8E8 Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf17; identity=mailfrom; envelope-from="<laoar.shao@gmail.com>"; helo=mail-pj1-f48.google.com; client-ip=209.85.216.48 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1615711066-553877 Content-Transfer-Encoding: quoted-printable 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: <linux-mm.kvack.org> |
Series |
mm, vsprintf: dump full information of page flags in pGp
|
expand
|
diff --git a/mm/slub.c b/mm/slub.c index 3021ce9bf1b3..ed3f728c1367 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -650,8 +650,9 @@ void print_tracking(struct kmem_cache *s, void *object) static void print_page_info(struct page *page) { - pr_err("INFO: Slab 0x%p objects=%u used=%u fp=0x%p flags=0x%04lx\n", - page, page->objects, page->inuse, page->freelist, page->flags); + pr_err("INFO: Slab 0x%p objects=%u used=%u fp=0x%p flags=%#lx(%pGp)\n", + page, page->objects, page->inuse, page->freelist, + page->flags, &page->flags); }