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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED 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 8C6ACC43381 for ; Thu, 28 Mar 2019 05:51:33 +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 428EC2075E for ; Thu, 28 Mar 2019 05:51:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 428EC2075E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu 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 1h9NwN-0000uR-GY; Thu, 28 Mar 2019 01:51:03 -0400 Received: from omr1.cc.ipv6.vt.edu ([2607:b400:92:8300:0:c6:2117:b0e] helo=omr1.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1h9NwM-0000uK-2T for kernelnewbies@kernelnewbies.org; Thu, 28 Mar 2019 01:51:02 -0400 Received: from mr5.cc.vt.edu (mr5.cc.ipv6.vt.edu [IPv6:2607:b400:92:8400:0:72:232:758b]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x2S5osGi024230 for ; Thu, 28 Mar 2019 01:50:54 -0400 Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mr5.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x2S5onhh024912 for ; Thu, 28 Mar 2019 01:50:54 -0400 Received: by mail-qk1-f199.google.com with SMTP id m8so16679064qka.10 for ; Wed, 27 Mar 2019 22:50:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:date:message-id; bh=6ux9nWvx5FS0jLMsTtxel0r+7rG+ezl1E9qLGeeA2uM=; b=aTn3CI9hgloaAwJXVnymSFeQ42FfbmfxGnYvJBPikDoRumbsKERoylY5lkialxA8DX Pycu77a+LXtyyGEXAdAsD26Kfj7dyoy4LDj7g8Ez1OAEJXkjpIWlVLgShuiTakXp6isQ LYZ/3fTXqcLRshPBSaaUufEYTPL1sTdOAyFlWHY+6UuQ9//tWZRA2LnK6+A3FZX50wkd 0W/H08wqtods16PzfHUg466qTrxdB+QLXed/vw45M+R85RkuIHwxJmiSU5iDau/AyeA1 9B8W4rFeOY3EJICnco76+MhGVNjaxizaal/q8OiVC6HomtTi8a5FjcwH15qguyUnmxVx Zyhg== X-Gm-Message-State: APjAAAULyGwHWMvMcG7vHOHaMCiJGHUO4XuulEHvMP8ozeH7gaOqx0Tr DGPT4g1r1RFvuvFfQPSGPoDoKcNsqHxIKgF17FVEAeKtYKeZSjTiqpN/2Q3El6TWSmxTIYro47c 5jraoK8wxvgRVr+QfKG1+yyBOyX3mK3MJuFy6md0= X-Received: by 2002:a37:a390:: with SMTP id m138mr32035164qke.72.1553752249453; Wed, 27 Mar 2019 22:50:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjV31zQ8GDmSj83YtEyuQp5VuMb7vc8IoNRUQZYYMS+SBWRtL3WhBwGDJfpPNniRWBI7QNbA== X-Received: by 2002:a37:a390:: with SMTP id m138mr32035152qke.72.1553752249111; Wed, 27 Mar 2019 22:50:49 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:4341::208]) by smtp.gmail.com with ESMTPSA id g12sm7713277qki.76.2019.03.27.22.50.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Mar 2019 22:50:48 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Igor Pylypiv Subject: Re: Where is PageHead defined in v5.0? In-reply-to: References: <20190327222615.GB5006@eros.localdomain> <20190328003458.GA1733@koro.localdomain> <20190327234935.GA11097@eros.localdomain> Mime-Version: 1.0 Date: Thu, 28 Mar 2019 01:50:47 -0400 Message-ID: <28865.1553752247@turing-police> Cc: kernelnewbies@kernelnewbies.org, Jesse Simpson , "Tobin C. Harding" 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, 27 Mar 2019 17:23:05 -0700, Igor Pylypiv said: > 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) General tip: If you're trying to find where the kernel defines FooBar, and 'git grep FooBar' only finds uses and no definitions, it probably means somebody got over-exuberant with the ## pre-processor operator 'git grep Foo##' usually reveals the culprit. ;) _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies