From: "Tobin C. Harding" <me@tobin.cc>
To: kernelnewbies@kernelnewbies.org
Subject: Where is PageHead defined in v5.0?
Date: Thu, 28 Mar 2019 09:26:15 +1100 [thread overview]
Message-ID: <20190327222615.GB5006@eros.localdomain> (raw)
Hi,
I cannot locate the definition of PageHead? It seems to have
disappeared after v4.0? I can see it defined as a function here:
https://elixir.bootlin.com/linux/v4.0/source/include/linux/page-flags.h#L401
But on the mainline (v5.1-rc2) I get:
$ git grep ' PageHead'
include/linux/page-flags.h:int PageHeadHuge(struct page *page);
include/linux/page-flags.h: return PageHead(page);
include/linux/page-flags.h: return PageHead(page) && test_bit(PG_double_map, &page[1].flags);
mm/hugetlb.c: return PageHead(page) && PagePrivate(&page[1]);
mm/hugetlb.c: * PageHeadHuge() only returns true for hugetlbfs head page, but not for
mm/hugetlb.c:int PageHeadHuge(struct page *page_head)
Clearly it is defined _somewhere_. Anyone any idea what brain
dysfunction I am having right now?
thanks,
Tobin.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next reply other threads:[~2019-03-27 22:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-27 22:26 Tobin C. Harding [this message]
2019-03-28 0:34 ` Where is PageHead defined in v5.0? Jesse Simpson
2019-03-27 23:49 ` Tobin C. Harding
2019-03-28 0:23 ` Igor Pylypiv
2019-03-28 4:43 ` Tobin C. Harding
2019-03-28 5:50 ` Valdis Klētnieks
2019-03-28 20:49 ` Jesse Simpson
2019-03-28 20:56 ` Tobin C. Harding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190327222615.GB5006@eros.localdomain \
--to=me@tobin.cc \
--cc=kernelnewbies@kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).