cregit-Linux how code gets into the kernel

Release 4.14 include/linux/page_owner.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#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

PersonTokensPropCommitsCommitProp
JoonSoo Kim2993.55%150.00%
Vlastimil Babka26.45%150.00%
Total31100.00%2100.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

PersonTokensPropCommitsCommitProp
JoonSoo Kim3494.44%150.00%
Vlastimil Babka25.56%150.00%
Total36100.00%2100.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

PersonTokensPropCommitsCommitProp
JoonSoo Kim2993.55%266.67%
Vlastimil Babka26.45%133.33%
Total31100.00%3100.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

PersonTokensPropCommitsCommitProp
Vlastimil Babka32100.00%1100.00%
Total32100.00%1100.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

PersonTokensPropCommitsCommitProp
Vlastimil Babka30100.00%1100.00%
Total30100.00%1100.00%


static inline void dump_page_owner(struct page *page) { if (static_branch_unlikely(&page_owner_inited)) __dump_page_owner(page); }

Contributors

PersonTokensPropCommitsCommitProp
Vlastimil Babka25100.00%1100.00%
Total25100.00%1100.00%

#else
static inline void reset_page_owner(struct page *page, unsigned int order) { }

Contributors

PersonTokensPropCommitsCommitProp
JoonSoo Kim15100.00%1100.00%
Total15100.00%1100.00%


static inline void set_page_owner(struct page *page, unsigned int order, gfp_t gfp_mask) { }

Contributors

PersonTokensPropCommitsCommitProp
JoonSoo Kim18100.00%1100.00%
Total18100.00%1100.00%


static inline void split_page_owner(struct page *page, unsigned int order) { }

Contributors

PersonTokensPropCommitsCommitProp
JoonSoo Kim15100.00%2100.00%
Total15100.00%2100.00%


static inline void copy_page_owner(struct page *oldpage, struct page *newpage) { }

Contributors

PersonTokensPropCommitsCommitProp
Vlastimil Babka16100.00%1100.00%
Total16100.00%1100.00%


static inline void set_page_owner_migrate_reason(struct page *page, int reason) { }

Contributors

PersonTokensPropCommitsCommitProp
Vlastimil Babka14100.00%1100.00%
Total14100.00%1100.00%


static inline void dump_page_owner(struct page *page) { }

Contributors

PersonTokensPropCommitsCommitProp
Vlastimil Babka11100.00%1100.00%
Total11100.00%1100.00%

#endif /* CONFIG_PAGE_OWNER */ #endif /* __LINUX_PAGE_OWNER_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
JoonSoo Kim22956.27%444.44%
Vlastimil Babka17743.49%444.44%
Greg Kroah-Hartman10.25%111.11%
Total407100.00%9100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.