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=-2.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT 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 6E7C5C43381 for ; Thu, 28 Mar 2019 04:44:30 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1DF90206DF for ; Thu, 28 Mar 2019 04:44:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tobin.cc header.i=@tobin.cc header.b="uFbb9NK8"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="wbD2c6sA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1DF90206DF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=tobin.cc Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1h9MtD-0000Dj-LX; Thu, 28 Mar 2019 00:43:43 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1h9MtB-0000Dd-Bk for kernelnewbies@kernelnewbies.org; Thu, 28 Mar 2019 00:43:41 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7461625601; Thu, 28 Mar 2019 00:43:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 28 Mar 2019 00:43:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobin.cc; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=pe7aSDTze8AwQlYlkE/Wg19R/o1 nGBHsSdd01KlDZb8=; b=uFbb9NK8zZ0kNnlwGbMGS3MXUNvZsMOUlyGKD+RDBfF wwa5SXxaX22Ya0PP5r5JXAtLA3oighHrzbyvoId1tNCircAVS2+hKlAD1vM5wCxo ivXzBtdGhfXdoWmhkzeaGdMrHPQDNynxlkwQtKbcOE7aTGaQKI28jJKI8UvQfR7/ 7dG+AJskhD+wTy7I4EHTjskLdO3t9+VW/WBI42AhSnMmUADWcKjIbq4I52Kxh1+1 8TMg1bJ2Y4pfkuqoiQL4IWgvX2B1V8dWA4KEatRDDgnsJpIkFC11w1G1NimHu7N6 dg1gNdI53gmx/ZSaj5zGhd+O6tsVhm5Xu6NSOp1giUQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=pe7aSD Tze8AwQlYlkE/Wg19R/o1nGBHsSdd01KlDZb8=; b=wbD2c6sAQfcddQgDqkFUKm /Szm5NK/zqgH0LmW466DZS9gW1vHITLCYFKTY4L3AF3ld0MoEGQDTaSTnj0x39O1 e0l6Og4jWVDr2vvmBF0FYnMk+oAp9CiS4UXzI1L5pvo4/LfA7m741tzIf30iqNsn wqLzQPtEr+ZA6HzhWx+Z7N6CIBfs+H0t6zXj8bu/b66k0CbmXDbT/JeCeS+wB4FH mnxGgZBGCscY89uZUGZrftT82CwUc5HxCLOOGCNE6jKDCcgTxFFnZmYq6KHFXuy/ O+YOQGWmgRZ+K4C7VcjePh1yd1U5EyFzvKVAPanFaQPaXU4GmCbPb4lGaODW5oRA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeefgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculddutddmnecujfgurhepfffhvffukfhfgggtuggjofgfsehttdertdfo redvnecuhfhrohhmpedfvfhosghinhcuvedrucfjrghrughinhhgfdcuoehmvgesthhosg hinhdrtggtqeenucffohhmrghinhepsghoohhtlhhinhdrtghomhdpkhgvrhhnvghlnhgv figsihgvshdrohhrghenucfkphepuddvgedrudeiledrudefledrudelvdenucfrrghrrg hmpehmrghilhhfrhhomhepmhgvsehtohgsihhnrdgttgenucevlhhushhtvghrufhiiigv pedt X-ME-Proxy: Received: from localhost (124-169-139-192.dyn.iinet.net.au [124.169.139.192]) by mail.messagingengine.com (Postfix) with ESMTPA id 74D0410310; Thu, 28 Mar 2019 00:43:39 -0400 (EDT) Date: Thu, 28 Mar 2019 15:43:12 +1100 From: "Tobin C. Harding" To: Igor Pylypiv Subject: Re: Where is PageHead defined in v5.0? Message-ID: <20190328044312.GA32113@eros.localdomain> References: <20190327222615.GB5006@eros.localdomain> <20190328003458.GA1733@koro.localdomain> <20190327234935.GA11097@eros.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Mailer: Mutt 1.11.4 (2019-03-13) User-Agent: Mutt/1.11.4 (2019-03-13) Cc: Jesse Simpson , kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Wed, Mar 27, 2019 at 05:23:05PM -0700, Igor Pylypiv wrote: > On Wed, Mar 27, 2019 at 4:51 PM Tobin C. Harding wrote: > > > > On Wed, Mar 27, 2019 at 07:34:58PM -0500, Jesse Simpson wrote: > > > Hi Tobin, > > > > > > I took a look on my system, and I wasn't able to find where PageHead is > > > defined either. I used grep to search for it as well as vim with ctags. > > > Maybe it's hidden away in some built-in.a or binary file. > > > > Cheers Jesse, confirmation that I've not gone mad - that's a win. > > > > I'll repost this to mm-linux tomorrow if no one on here knows. > > > > thanks, > > Tobin. > > > > _______________________________________________ > > Kernelnewbies mailing list > > Kernelnewbies@kernelnewbies.org > > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > Hi Tobin and Jesse, > > Neither grep nor ctags are going to help you here :) > > PageHead is implicitly defined using macros __PAGEFLAG: > __PAGEFLAG(Head, head, PF_ANY) CLEARPAGEFLAG(Head, head, PF_ANY) > (https://elixir.bootlin.com/linux/v5.0.5/source/include/linux/page-flags.h#L517) > > __PAGEFLAG defines TESTPAGEFLAG: > (https://elixir.bootlin.com/linux/v5.0.5/source/include/linux/page-flags.h#L248) > > and TESTPAGEFLAG defines PageHead: > #define TESTPAGEFLAG(uname, lname, policy) \ > static __always_inline int Page##uname(struct page *page) > (https://elixir.bootlin.com/linux/v5.0.5/source/include/linux/page-flags.h#L215) Thanks Igor. > See, it is simple :) hmmm macros - no further comment needed :) thanks Tobin _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies