pid.c (c203e45f069af47ca7623e4dcd8c00bfba2722e4) | pid.c (82524746c27fa418c250a56dd7606b9d3fc79826) |
---|---|
1/* 2 * Generic pidhash and scalable, time-bounded PID allocator 3 * 4 * (C) 2002-2003 William Irwin, IBM 5 * (C) 2004 William Irwin, Oracle 6 * (C) 2002-2004 Ingo Molnar, Red Hat 7 * 8 * pid-structures are backing objects for tasks sharing a given ID to chain --- 16 unchanged lines hidden (view full) --- 25 * Many thanks to Oleg Nesterov for comments and help 26 * 27 */ 28 29#include <linux/mm.h> 30#include <linux/module.h> 31#include <linux/slab.h> 32#include <linux/init.h> | 1/* 2 * Generic pidhash and scalable, time-bounded PID allocator 3 * 4 * (C) 2002-2003 William Irwin, IBM 5 * (C) 2004 William Irwin, Oracle 6 * (C) 2002-2004 Ingo Molnar, Red Hat 7 * 8 * pid-structures are backing objects for tasks sharing a given ID to chain --- 16 unchanged lines hidden (view full) --- 25 * Many thanks to Oleg Nesterov for comments and help 26 * 27 */ 28 29#include <linux/mm.h> 30#include <linux/module.h> 31#include <linux/slab.h> 32#include <linux/init.h> |
33#include <linux/rculist.h> |
|
33#include <linux/bootmem.h> 34#include <linux/hash.h> 35#include <linux/pid_namespace.h> 36#include <linux/init_task.h> 37#include <linux/syscalls.h> 38 39#define pid_hashfn(nr, ns) \ 40 hash_long((unsigned long)nr + (unsigned long)ns, pidhash_shift) --- 495 unchanged lines hidden --- | 34#include <linux/bootmem.h> 35#include <linux/hash.h> 36#include <linux/pid_namespace.h> 37#include <linux/init_task.h> 38#include <linux/syscalls.h> 39 40#define pid_hashfn(nr, ns) \ 41 hash_long((unsigned long)nr + (unsigned long)ns, pidhash_shift) --- 495 unchanged lines hidden --- |