cregit-Linux how code gets into the kernel

Release 4.12 include/linux/taskstats_kern.h

Directory: include/linux
/* taskstats_kern.h - kernel header for per-task statistics interface
 *
 * Copyright (C) Shailabh Nagar, IBM Corp. 2006
 *           (C) Balbir Singh,   IBM Corp. 2006
 */

#ifndef _LINUX_TASKSTATS_KERN_H

#define _LINUX_TASKSTATS_KERN_H

#include <linux/taskstats.h>
#include <linux/sched/signal.h>
#include <linux/slab.h>

#ifdef CONFIG_TASKSTATS
extern struct kmem_cache *taskstats_cache;
extern struct mutex taskstats_exit_mutex;


static inline void taskstats_tgid_free(struct signal_struct *sig) { if (sig->stats) kmem_cache_free(taskstats_cache, sig->stats); }

Contributors

PersonTokensPropCommitsCommitProp
Shailabh Nagar2592.59%266.67%
Oleg Nesterov27.41%133.33%
Total27100.00%3100.00%

extern void taskstats_exit(struct task_struct *, int group_dead); extern void taskstats_init_early(void); #else
static inline void taskstats_exit(struct task_struct *tsk, int group_dead) {}

Contributors

PersonTokensPropCommitsCommitProp
Shailabh Nagar1392.86%266.67%
Oleg Nesterov17.14%133.33%
Total14100.00%3100.00%


static inline void taskstats_tgid_free(struct signal_struct *sig) {}

Contributors

PersonTokensPropCommitsCommitProp
Shailabh Nagar11100.00%2100.00%
Total11100.00%2100.00%


static inline void taskstats_init_early(void) {}

Contributors

PersonTokensPropCommitsCommitProp
Shailabh Nagar8100.00%1100.00%
Total8100.00%1100.00%

#endif /* CONFIG_TASKSTATS */ #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Shailabh Nagar10590.52%444.44%
Oleg Nesterov54.31%222.22%
Tejun Heo32.59%111.11%
Christoph Lameter21.72%111.11%
Ingo Molnar10.86%111.11%
Total116100.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.