[PATCH 1/2] Move pidmap to pspace.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sukadev Bhattiprolu <sukadev at us.ibm.com> writes:

> Move struct pidmap and PIDMAP_ENTRIES to a new file, include/linux/pspace.h
> where it will be used in subsequent patches to define pid spaces.
>
> Its a subset of Eric Biederman's patch http://lkml.org/lkml/2006/2/6/285
>
> Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>
> Signed-off-by: Sukadev Bhattiprolu <sukadev at us.ibm.com>
> Cc: Dave Hansen <haveblue at us.ibm.com>
> Cc: Serge Hallyn <serue at us.ibm.com>
> Cc: Cedric Le Goater <clg at fr.ibm.com>
> Cc: <containers at lists.osdl.org>
>
>
>  include/linux/pspace.h |   17 +++++++++++++++++
>  kernel/pid.c           |    7 +------
>  2 files changed, 18 insertions(+), 6 deletions(-)
>
> Index: linux-2.6.18-rc3/include/linux/pspace.h
> ===================================================================
> --- /dev/null	1970-01-01 00:00:00.000000000 +0000
> +++ linux-2.6.18-rc3/include/linux/pspace.h 2006-08-10 18:00:08.000000000 -0700
> @@ -0,0 +1,17 @@
> +#ifndef _LINUX_PSPACE_H
> +#define _LINUX_PSPACE_H
> +
> +#include <linux/sched.h>
> +#include <linux/threads.h>
> +#include <linux/pid.h>
> +
> +typedef struct pidmap
> +{
> +       atomic_t nr_free;
> +       void *page;
> +} pidmap_t;

If you are going to kill pidmap_t there is no point in
reintroducing it here.

Eric


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux