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
Person | Tokens | Prop | Commits | CommitProp |
Balbir Singh | 33 | 100.00% | 1 | 100.00% |
Total | 33 | 100.00% | 1 | 100.00% |
#else /* !MODULE */
static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp)
{
return gfp | __GFP_ACCOUNT;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Balbir Singh | 20 | 100.00% | 1 | 100.00% |
Total | 20 | 100.00% | 1 | 100.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
Person | Tokens | Prop | Commits | CommitProp |
Balbir Singh | 62 | 67.39% | 1 | 11.11% |
Paul Mackerras | 9 | 9.78% | 1 | 11.11% |
Anton Blanchard | 6 | 6.52% | 1 | 11.11% |
Michael Ellerman | 4 | 4.35% | 1 | 11.11% |
Benjamin Herrenschmidt | 4 | 4.35% | 2 | 22.22% |
Kumar Gala | 3 | 3.26% | 1 | 11.11% |
Aneesh Kumar K.V | 3 | 3.26% | 1 | 11.11% |
Greg Kroah-Hartman | 1 | 1.09% | 1 | 11.11% |
Total | 92 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.