From patchwork Tue Oct 27 02:58:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 11859293 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 08E1014B7 for ; Tue, 27 Oct 2020 02:58:32 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 9E30E2151B for ; Tue, 27 Oct 2020 02:58:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="dAKJDByj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9E30E2151B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id DDD866B005C; Mon, 26 Oct 2020 22:58:30 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id D8F4C6B0062; Mon, 26 Oct 2020 22:58:30 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CA5446B006C; Mon, 26 Oct 2020 22:58:30 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0134.hostedemail.com [216.40.44.134]) by kanga.kvack.org (Postfix) with ESMTP id 99A126B005C for ; Mon, 26 Oct 2020 22:58:30 -0400 (EDT) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 42791181AC9C6 for ; Tue, 27 Oct 2020 02:58:30 +0000 (UTC) X-FDA: 77416197180.16.way34_4f0c3df27278 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin16.hostedemail.com (Postfix) with ESMTP id 253C5100E690B for ; Tue, 27 Oct 2020 02:58:30 +0000 (UTC) X-Spam-Summary: 1,0,0,0a809152e6960eae,d41d8cd98f00b204,willy@infradead.org,,RULES_HIT:41:355:379:541:800:960:973:988:989:1260:1311:1314:1345:1437:1515:1534:1540:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3868:3871:3873:4321:5007:6261:6653:7996:8957:10004:11658:11914:12297:12555:12895:13069:13138:13231:13311:13357:13894:14096:14181:14384:14394:14721:21080:21450:21451:21611:21627:30054,0,RBL:90.155.50.34:@infradead.org:.lbl8.mailshell.net-64.201.201.201 62.8.15.100;04y8ky1dyacnsakbixofxd815a1jeocdngdi43dpxtym8zm58j6pzp1zzneuihr.mg3c7eqd6xwngzdzjs3d983dqm7us6njezcyaoq31f9irt5o9gfdsmduynt5pbq.r-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:23,LUA_SUMMARY:none X-HE-Tag: way34_4f0c3df27278 X-Filterd-Recvd-Size: 2201 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf02.hostedemail.com (Postfix) with ESMTP for ; Tue, 27 Oct 2020 02:58:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=BI1XsoSPzNDuvSB47Nz0rzTutp0arzD0hHNVtQeYpyo=; b=dAKJDByjd2a2ZlBpUXb4ptcGWd dhCLAPHF6k+MEULTa5I/RqzqW7zIV5BHWQPVBl/AqImSsS2378cLDuZexTfkvW2MSAxcG/ijNew19 jZ7+jTvzAijBnCJHk270fL1/9MDb706qWuFmDBTMuVt/1NaTGX8cpziHWH+nou1QctF8Tsqla32Mx M709l6M2gmbHKWYkghU9PU9eAMxPC7B4o+PC0NagWixNU0mQDssnoZoqp4xXnatCjJOcTGulh72FC Rsrtfd4J56QxJp2qNsihBAep6OpESGjj4im4SRKKzMiOIx/OkrpVWBs6F4SWE97Y1wPWR8cZWKZ3Z Fbd/VJKQ==; Received: from willy by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXFBq-0000yZ-NH; Tue, 27 Oct 2020 02:58:26 +0000 From: "Matthew Wilcox (Oracle)" To: linux-mm@kvack.org Cc: "Matthew Wilcox (Oracle)" Subject: [PATCH] mm/page-flags: Fix comment Date: Tue, 27 Oct 2020 02:58:23 +0000 Message-Id: <20201027025823.3704-1-willy@infradead.org> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 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: We haven't had 'dontuse' flags since 2002. Replace this obsolete warning with a hopefully more useful one. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: William Kucharski --- include/linux/page-flags.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 0d3402517e43..1a41ff36907b 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -86,8 +86,7 @@ */ /* - * Don't use the *_dontuse flags. Use the macros. Otherwise you'll break - * locked- and dirty-page accounting. + * Don't use the pageflags directly. Use the PageFoo macros. * * The page flags field is split into two parts, the main flags area * which extends from the low bits upwards, and the fields area which