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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65759C433EF for ; Wed, 27 Oct 2021 12:09:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E56C3610A0 for ; Wed, 27 Oct 2021 12:09:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E56C3610A0 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 520F7940008; Wed, 27 Oct 2021 08:09:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4D067940007; Wed, 27 Oct 2021 08:09:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3BFAC940008; Wed, 27 Oct 2021 08:09:12 -0400 (EDT) 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 2EBE5940007 for ; Wed, 27 Oct 2021 08:09:12 -0400 (EDT) Received: from smtpin28.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id ECAF9274C7 for ; Wed, 27 Oct 2021 12:09:11 +0000 (UTC) X-FDA: 78742096902.28.70CC26E Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf22.hostedemail.com (Postfix) with ESMTP id 670981902 for ; Wed, 27 Oct 2021 12:09:11 +0000 (UTC) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 37B171FD46; Wed, 27 Oct 2021 12:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1635336550; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=S/dhScziKbJmLaeBs5K4symKmNbGKQol/YeEDMDJ2sQ=; b=sDf2yZ3Ed65ukiJzwOnFhkyJweqapPSDzam8tTPwaWmP0u83fI199S+JATnzF+87BJjDF8 K2f0grff2DRSZlP2ZJtYBKMPztjuJ3eFYtcUuF0fpJy/spt2u9KiR2gUyLH+VMxqJHUuBl EtX4aSZAbgGFel7W6UN0SouS1Hd2ICo= Received: from suse.cz (unknown [10.100.224.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 19051A3B83; Wed, 27 Oct 2021 12:09:10 +0000 (UTC) Date: Wed, 27 Oct 2021 14:09:09 +0200 From: Petr Mladek To: "Matthew Wilcox (Oracle)" Cc: Yafang Shao , Sergey Senozhatsky , linux-mm@kvack.org, Vlastimil Babka , Rasmus Villemoes Subject: Re: [PATCH v2 0/5] Improvements to %pGp Message-ID: References: <20211019142621.2810043-1-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211019142621.2810043-1-willy@infradead.org> X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 670981902 X-Stat-Signature: gu8enac8pa1mnbtfrtiijuwmb7rqty7m Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=suse.com header.s=susede1 header.b=sDf2yZ3E; spf=pass (imf22.hostedemail.com: domain of pmladek@suse.com designates 195.135.220.29 as permitted sender) smtp.mailfrom=pmladek@suse.com; dmarc=pass (policy=quarantine) header.from=suse.com X-HE-Tag: 1635336551-673042 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 Tue 2021-10-19 15:26:16, Matthew Wilcox (Oracle) wrote: > The first four patches are improvements to page_flags_test(). > The fifth is the patch I originally sent out which exposed some of > the weaknesses in page_flags_test(). > > v2: > - use scnprintf (Rasmus) > - remove page_flags variable (Kirill) > > Matthew Wilcox (Oracle) (5): > test_printf: Make pft array const > test_printf: Remove separate page_flags variable > test_printf: Remove custom appending of '|' > test_printf: Append strings more efficiently > vsprintf: Make %pGp print the hex value > > lib/test_printf.c | 61 +++++++++++++++++++-------------------------- > lib/vsprintf.c | 8 ++++++ > mm/debug.c | 2 +- > mm/memory-failure.c | 8 +++--- > mm/page_owner.c | 4 +-- > mm/slub.c | 4 +-- > 6 files changed, 42 insertions(+), 45 deletions(-) The patchset has been committed into printk/linux.git, branch for-5.16-vsprintf-pgp. Best Regards, Petr