Message ID | 20210319101246.73513-2-laoar.shao@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=zpnf=IR=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 0485FC433DB for <linux-mm@archiver.kernel.org>; Fri, 19 Mar 2021 10:13:24 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 8E5FC64E20 for <linux-mm@archiver.kernel.org>; Fri, 19 Mar 2021 10:13:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E5FC64E20 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 3245B6B0072; Fri, 19 Mar 2021 06:13:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2FAF26B0073; Fri, 19 Mar 2021 06:13:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 19BCB6B0074; Fri, 19 Mar 2021 06:13:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0096.hostedemail.com [216.40.44.96]) by kanga.kvack.org (Postfix) with ESMTP id 017926B0072 for <linux-mm@kvack.org>; Fri, 19 Mar 2021 06:13:22 -0400 (EDT) Received: from smtpin33.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id B54B68249980 for <linux-mm@kvack.org>; Fri, 19 Mar 2021 10:13:22 +0000 (UTC) X-FDA: 77936211444.33.BAEE387 Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by imf21.hostedemail.com (Postfix) with ESMTP id 4E303E0001B4 for <linux-mm@kvack.org>; Fri, 19 Mar 2021 10:13:22 +0000 (UTC) Received: by mail-io1-f47.google.com with SMTP id v17so5460793iot.6 for <linux-mm@kvack.org>; Fri, 19 Mar 2021 03:13:22 -0700 (PDT) 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=E7ar8hPU9t6xEXWuWBRTWzZJeNGjPlRnCY9ZgASWw156E3ebESlFuuqu8rwWLnGiLl i5SO8yUVX1tTZuW8dbPXd5G03ZxLwlsJUApXG88XfAmfrNSnunuvuTS0GNvP0stVHFyG 2bYDX3JgkoNBZL/SZSMobQVUrp7J3GOcOlFub6LNnXK9HPOA982o3pEwW1XXNRb8hJNw Zt2t/EuI8Ciz2hgAzA2ZM2l8cFJCfMUVuGCfaJZnR7FqN01V10rjYvYfZ7v/2a64dkeU z6u/yr3BaXRl+0UKkJE3wEr4l+wQWWMayG5C1oDHow9bGCWLfnIip0ow3NeRwWKzYEka RZNA== 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=bGZ7eiDSHj+A3driBpcpL1sesXflS14Xb1SYD/JzRbC30g8ISgTdMYF1KUnjcM/qqz UDCTrZgeR8GaaC09OA7/h+523qn0RbJH1cIlixfBbVn9ngLHpipfzavgaaobsSwSaKnO dcRJXvWLPPH0zw3oDxc/zeehMTTY3ebWiBlpJRFsCExo09OdVAWfwiylPBo8VnWfLC77 tagePv3LEJDad8cQw/5v2pZdF316AX3JY3pBGVkun29nO+9gvwxzNCZmc/3ahrWLp2oF XgA8gh6KWbTpq37poddvgp7C0xfok+cD0P8GuNrMOL6NwlCzf409R9f242JFbrAY55jG F5BQ== X-Gm-Message-State: AOAM532R9bIpmYi/Sw6t3Onv9AMZdzhfpq0w/tZA22uNv+eYjTSqN1Q6 6abUFHRicsDcTzZpIO5tnZY= X-Google-Smtp-Source: ABdhPJw2AQnv51o88wDaOBZCJpc7VxubU4CRTTOX97WTqqFtSTY9Eza6VIRKrMg8EwLrc1tijESftg== X-Received: by 2002:a02:605d:: with SMTP id d29mr561106jaf.81.1616148801857; Fri, 19 Mar 2021 03:13:21 -0700 (PDT) Received: from localhost.localdomain ([50.236.19.102]) by smtp.gmail.com with ESMTPSA id v19sm2372827ilj.60.2021.03.19.03.13.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Mar 2021 03:13:21 -0700 (PDT) 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 resend 1/3] mm, slub: use pGp to print page flags Date: Fri, 19 Mar 2021 18:12:44 +0800 Message-Id: <20210319101246.73513-2-laoar.shao@gmail.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: <20210319101246.73513-1-laoar.shao@gmail.com> References: <20210319101246.73513-1-laoar.shao@gmail.com> MIME-Version: 1.0 X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 4E303E0001B4 X-Stat-Signature: 7imbbzuixkj57zcxkcks1pxbqwnyrsg7 Received-SPF: none (gmail.com>: No applicable sender policy available) receiver=imf21; identity=mailfrom; envelope-from="<laoar.shao@gmail.com>"; helo=mail-io1-f47.google.com; client-ip=209.85.166.47 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1616148802-340659 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); }