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 X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,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 87F20C4363A 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 8ADD9206C1 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 8ADD9206C1 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) Received: by kanga.kvack.org (Postfix, from userid 40) id D8F4C6B0062; Mon, 26 Oct 2020 22:58:30 -0400 (EDT) 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-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-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 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: We haven't had 'dontuse' flags since 2002. Replace this obsolete warning with a hopefully more useful one. Signed-off-by: Matthew Wilcox (Oracle) --- 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 @@ */ =20 /* - * Don't use the *_dontuse flags. Use the macros. Otherwise you'll bre= ak - * 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 --=20 2.28.0