cregit-Linux how code gets into the kernel

Release 4.11 arch/powerpc/lib/alloc.c

Directory: arch/powerpc/lib
#include <linux/types.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/bootmem.h>
#include <linux/string.h>
#include <asm/setup.h>



void * __ref zalloc_maybe_bootmem(size_t size, gfp_t mask) { void *p; if (slab_is_available()) p = kzalloc(size, mask); else { p = memblock_virt_alloc(size, 0); } return p; }

Contributors

PersonTokensPropCommitsCommitProp
Stephen Rothwell4291.30%125.00%
Michael Ellerman36.52%250.00%
Fabian Frederick12.17%125.00%
Total46100.00%4100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Stephen Rothwell5992.19%233.33%
Michael Ellerman34.69%233.33%
Fabian Frederick11.56%116.67%
David Howells11.56%116.67%
Total64100.00%6100.00%
Directory: arch/powerpc/lib
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.