*参照元 [#f19d16a7]
#backlinks

*説明 [#q4787cf4]
-パス: [[linux-4.4.1/include/linux/page-flags.h]]

-FIXME: これは何?
--説明


**引数 [#f0b092dc]
-struct page *page
--
--[[linux-4.4.1/page]]


**返り値 [#g4d430ca]
-int
--


**参考 [#i4c35af3]


*実装 [#aeb9d112]
 #ifdef CONFIG_TRANSPARENT_HUGEPAGE
-
--[[linux-4.4.1/CONFIG_TRANSPARENT_HUGEPAGE]]

 /*
  * PageHuge() only returns true for hugetlbfs pages, but not for
  * normal or transparent huge pages.
  *
  * PageTransHuge() returns true for both transparent huge and
  * hugetlbfs pages, but not normal pages. PageTransHuge() can only be
  * called only in the core VM paths where hugetlbfs pages can't exist.
  */
 static inline int PageTransHuge(struct page *page)
 {
 	VM_BUG_ON_PAGE(PageTail(page), page);
 	return PageHead(page);
 }
 
-
--[[linux-4.4.1/VM_BUG_ON_PAGE()]]
--[[linux-4.4.1/PageTail()]]
--[[linux-4.4.1/PageHead()]]

 ...
 
 #else
 
 static inline int PageTransHuge(struct page *page)
 {
 	return 0;
 }
 
 ...
 
 #endif


*コメント [#bae24bf6]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS