linux/arch/mips/mm
Sukadev Bhattiprolu f400e198b2 [PATCH] pidspace: is_init()
This is an updated version of Eric Biederman's is_init() patch.
(http://lkml.org/lkml/2006/2/6/280).  It applies cleanly to 2.6.18-rc3 and
replaces a few more instances of ->pid == 1 with is_init().

Further, is_init() checks pid and thus removes dependency on Eric's other
patches for now.

Eric's original description:

	There are a lot of places in the kernel where we test for init
	because we give it special properties.  Most  significantly init
	must not die.  This results in code all over the kernel test
	->pid == 1.

	Introduce is_init to capture this case.

	With multiple pid spaces for all of the cases affected we are
	looking for only the first process on the system, not some other
	process that has pid == 1.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>
Cc: <lxc-devel@lists.sourceforge.net>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-29 09:18:12 -07:00
..
c-r3k.c [MIPS] Retire flush_icache_page from mm use. 2006-09-27 13:37:34 +01:00
c-r4k.c [MIPS] c-r4k: Convert init functions from inline to __init. 2006-09-27 13:37:44 +01:00
c-sb1.c [MIPS] Do not use drop_mmu_context to flusing other task's VIPT I-cache. 2006-09-27 13:37:37 +01:00
c-tx39.c [MIPS] Retire flush_icache_page from mm use. 2006-09-27 13:37:34 +01:00
cache.c [MIPS] Retire flush_icache_page from mm use. 2006-09-27 13:37:34 +01:00
cerr-sb1.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cex-gen.S
cex-sb1.S
dma-coherent.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dma-ip27.c
dma-ip32.c
dma-noncoherent.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
extable.c
fault.c [PATCH] pidspace: is_init() 2006-09-29 09:18:12 -07:00
highmem.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
init.c [PATCH] reduce MAX_NR_ZONES: fix MAX_NR_ZONES array initializations 2006-09-26 08:48:46 -07:00
ioremap.c
Makefile [MIPS] MIPS32/MIPS64 secondary cache management 2006-06-29 21:10:52 +01:00
pg-r4k.c [MIPS] Treat R14000 like R10000. 2006-06-01 00:28:35 +01:00
pg-sb1.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pgtable-32.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
pgtable-64.c
pgtable.c [MIPS] sparsemem: fix crash in show_mem 2006-07-13 21:26:22 +01:00
sc-ip22.c
sc-mips.c [MIPS] MIPS32/MIPS64 S-cache fix and cleanup 2006-06-29 21:10:54 +01:00
sc-r5k.c
sc-rm7k.c [MIPS] Use __ffs() instead of ffs() for waybit calculation. 2006-04-19 04:14:30 +02:00
tlb-r3k.c
tlb-r4k.c [MIPS] Replace BARRIER with more appropriate hazard barrier. 2006-09-27 13:37:54 +01:00
tlb-r8k.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tlbex-fault.S
tlbex.c [MIPS] Print out TLB handler assembly for debugging. 2006-07-13 21:26:16 +01:00