*参照元 [#f0374bd7] #backlinks *説明 [#h01a6b37] -パス: [[linux-4.4.1/mm/internal.h]] -FIXME: これは何? --説明 **引数 [#i8757720] -struct page *page -- --[[linux-4.4.1/page]] **返り値 [#n2312c81] -unsigned int -- **参考 [#a3cba798] *実装 [#e1949d9b] /* * This function returns the order of a free page in the buddy system. In * general, page_zone(page)->lock must be held by the caller to prevent the * page from being allocated in parallel and returning garbage as the order. * If a caller does not hold page_zone(page)->lock, it must guarantee that the * page cannot be allocated or merged in parallel. Alternatively, it must * handle invalid values gracefully, and use page_order_unsafe() below. */ static inline unsigned int page_order(struct page *page) { /* PageBuddy() must be checked by the caller */ return page_private(page); - --[[linux-4.4.1/page_private()]] } *コメント [#p084c9bc]