kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Where is PageHead defined in v5.0?
@ 2019-03-27 22:26 Tobin C. Harding
  2019-03-28  0:34 ` Jesse Simpson
  0 siblings, 1 reply; 8+ messages in thread
From: Tobin C. Harding @ 2019-03-27 22:26 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-03-28 20:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-27 22:26 Where is PageHead defined in v5.0? Tobin C. Harding
2019-03-28  0:34 ` 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

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).