Release 4.7 include/linux/page_owner.h
#ifndef __LINUX_PAGE_OWNER_H
#define __LINUX_PAGE_OWNER_H
#include <linux/jump_label.h>
#ifdef CONFIG_PAGE_OWNER
extern struct static_key_false page_owner_inited;
extern struct page_ext_operations page_owner_ops;
extern void __reset_page_owner(struct page *page, unsigned int order);
extern void __set_page_owner(struct page *page,
unsigned int order, gfp_t gfp_mask);
extern gfp_t __get_page_owner_gfp(struct page *page);
extern void __copy_page_owner(struct page *oldpage, struct page *newpage);
extern void __set_page_owner_migrate_reason(struct page *page, int reason);
extern void __dump_page_owner(struct page *page);
static inline void reset_page_owner(struct page *page, unsigned int order)
{
if (static_branch_unlikely(&page_owner_inited))
__reset_page_owner(page, order);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
joonsoo kim | joonsoo kim | 29 | 93.55% | 1 | 50.00% |
vlastimil babka | vlastimil babka | 2 | 6.45% | 1 | 50.00% |
| Total | 31 | 100.00% | 2 | 100.00% |
static inline void set_page_owner(struct page *page,
unsigned int order, gfp_t gfp_mask)
{
if (static_branch_unlikely(&page_owner_inited))
__set_page_owner(page, order, gfp_mask);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
joonsoo kim | joonsoo kim | 34 | 94.44% | 1 | 50.00% |
vlastimil babka | vlastimil babka | 2 | 5.56% | 1 | 50.00% |
| Total | 36 | 100.00% | 2 | 100.00% |
static inline gfp_t get_page_owner_gfp(struct page *page)
{
if (static_branch_unlikely(&page_owner_inited))
return __get_page_owner_gfp(page);
else
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
joonsoo kim | joonsoo kim | 24 | 80.00% | 1 | 50.00% |
vlastimil babka | vlastimil babka | 6 | 20.00% | 1 | 50.00% |
| Total | 30 | 100.00% | 2 | 100.00% |
static inline void copy_page_owner(struct page *oldpage, struct page *newpage)
{
if (static_branch_unlikely(&page_owner_inited))
__copy_page_owner(oldpage, newpage);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
vlastimil babka | vlastimil babka | 32 | 100.00% | 1 | 100.00% |
| Total | 32 | 100.00% | 1 | 100.00% |
static inline void set_page_owner_migrate_reason(struct page *page, int reason)
{
if (static_branch_unlikely(&page_owner_inited))
__set_page_owner_migrate_reason(page, reason);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
vlastimil babka | vlastimil babka | 30 | 100.00% | 1 | 100.00% |
| Total | 30 | 100.00% | 1 | 100.00% |
static inline void dump_page_owner(struct page *page)
{
if (static_branch_unlikely(&page_owner_inited))
__dump_page_owner(page);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
vlastimil babka | vlastimil babka | 25 | 100.00% | 1 | 100.00% |
| Total | 25 | 100.00% | 1 | 100.00% |
#else
static inline void reset_page_owner(struct page *page, unsigned int order)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
joonsoo kim | joonsoo kim | 15 | 100.00% | 1 | 100.00% |
| Total | 15 | 100.00% | 1 | 100.00% |
static inline void set_page_owner(struct page *page,
unsigned int order, gfp_t gfp_mask)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
joonsoo kim | joonsoo kim | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
static inline gfp_t get_page_owner_gfp(struct page *page)
{
return 0;
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
joonsoo kim | joonsoo kim | 15 | 100.00% | 1 | 100.00% |
| Total | 15 | 100.00% | 1 | 100.00% |
static inline void copy_page_owner(struct page *oldpage, struct page *newpage)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
vlastimil babka | vlastimil babka | 16 | 100.00% | 1 | 100.00% |
| Total | 16 | 100.00% | 1 | 100.00% |
static inline void set_page_owner_migrate_reason(struct page *page, int reason)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
vlastimil babka | vlastimil babka | 14 | 100.00% | 1 | 100.00% |
| Total | 14 | 100.00% | 1 | 100.00% |
static inline void dump_page_owner(struct page *page)
{
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
vlastimil babka | vlastimil babka | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
#endif /* CONFIG_PAGE_OWNER */
#endif /* __LINUX_PAGE_OWNER_H */
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
joonsoo kim | joonsoo kim | 201 | 52.62% | 2 | 33.33% |
vlastimil babka | vlastimil babka | 181 | 47.38% | 4 | 66.67% |
| Total | 382 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.