cregit-Linux how code gets into the kernel

Release 4.14 arch/powerpc/include/asm/pgalloc.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_POWERPC_PGALLOC_H

#define _ASM_POWERPC_PGALLOC_H

#include <linux/mm.h>

#ifndef MODULE

static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp) { if (unlikely(mm == &init_mm)) return gfp; return gfp | __GFP_ACCOUNT; }

Contributors

PersonTokensPropCommitsCommitProp
Balbir Singh33100.00%1100.00%
Total33100.00%1100.00%

#else /* !MODULE */
static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp) { return gfp | __GFP_ACCOUNT; }

Contributors

PersonTokensPropCommitsCommitProp
Balbir Singh20100.00%1100.00%
Total20100.00%1100.00%

#endif /* MODULE */ #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO) #ifdef CONFIG_PPC_BOOK3S #include <asm/book3s/pgalloc.h> #else #include <asm/nohash/pgalloc.h> #endif #endif /* _ASM_POWERPC_PGALLOC_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Balbir Singh6267.39%111.11%
Paul Mackerras99.78%111.11%
Anton Blanchard66.52%111.11%
Michael Ellerman44.35%111.11%
Benjamin Herrenschmidt44.35%222.22%
Kumar Gala33.26%111.11%
Aneesh Kumar K.V33.26%111.11%
Greg Kroah-Hartman11.09%111.11%
Total92100.00%9100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.