aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pspace.h
blob: a8a064b0ad18fef8f424a8782536fa612c28ea9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _LINUX_PSPACE_H
#define _LINUX_PSPACE_H

#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/threads.h>
#include <linux/pid.h>

struct pidmap {
       atomic_t nr_free;
       void *page;
};

#define PIDMAP_ENTRIES         ((PID_MAX_LIMIT + 8*PAGE_SIZE - 1)/PAGE_SIZE/8)

#endif /* _LINUX_PSPACE_H */

Privacy Policy