Release 4.12 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 void __split_page_owner(struct page *page, unsigned int order);
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);
extern void pagetypeinfo_showmixedcount_print(struct seq_file *m,
pg_data_t *pgdat, struct zone *zone);
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 | 29 | 93.55% | 1 | 50.00% |
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 | 34 | 94.44% | 1 | 50.00% |
Vlastimil Babka | 2 | 5.56% | 1 | 50.00% |
Total | 36 | 100.00% | 2 | 100.00% |
static inline void split_page_owner(struct page *page, unsigned int order)
{
if (static_branch_unlikely(&page_owner_inited))
__split_page_owner(page, order);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
JoonSoo Kim | 29 | 93.55% | 2 | 66.67% |
Vlastimil Babka | 2 | 6.45% | 1 | 33.33% |
Total | 31 | 100.00% | 3 | 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 | 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 | 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 | 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 | 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 | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
static inline void split_page_owner(struct page *page,
unsigned int order)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
JoonSoo Kim | 15 | 100.00% | 2 | 100.00% |
Total | 15 | 100.00% | 2 | 100.00% |
static inline void copy_page_owner(struct page *oldpage, struct page *newpage)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
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 | 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 | 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 | 229 | 56.40% | 4 | 50.00% |
Vlastimil Babka | 177 | 43.60% | 4 | 50.00% |
Total | 406 | 100.00% | 8 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.