linux-stable-rt/arch/arm/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
..
Kconfig [ARM] nommu: confirms the CR_V bit in nommu mode 2006-09-28 20:17:30 +01:00
Makefile [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
abort-ev4.S
abort-ev4t.S
abort-ev5t.S
abort-ev5tj.S
abort-ev6.S
abort-lv4t.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
abort-macro.S
abort-nommu.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
alignment.c [ARM] do_bad_area() always takes current and current->active_mm 2006-09-27 16:13:48 +01:00
cache-v3.S
cache-v4.S [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
cache-v4wb.S
cache-v4wt.S
cache-v6.S
consistent.c
context.c [ARM] Move mmu.c out of the way 2006-09-20 14:58:35 +01:00
copypage-v3.S
copypage-v4mc.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
copypage-v4wb.S
copypage-v4wt.S
copypage-v6.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
copypage-xsc3.S
copypage-xscale.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
discontig.c
extable.c
fault-armv.c
fault.c [PATCH] pidspace: is_init() 2006-09-29 09:18:12 -07:00
fault.h [ARM] do_bad_area() always takes current and current->active_mm 2006-09-27 16:13:48 +01:00
flush.c [ARM] 3853/1: Fix flush_ptrace_access() thinko for nonaliasing VIPT cache case 2006-09-25 10:34:04 +01:00
init.c [ARM] Split ARM MM initialisation for !mmu 2006-09-27 15:27:33 +01:00
iomap.c
ioremap.c [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
mm.h [ARM] Move rest of MMU setup code from mm-armv.c to mmu.c 2006-09-27 15:38:34 +01:00
mmap.c [ARM] 3813/1: prevent >= 4G /dev/mem mmap() 2006-09-25 10:25:26 +01:00
mmu.c [ARM] Move rest of MMU setup code from mm-armv.c to mmu.c 2006-09-27 15:38:34 +01:00
nommu.c [ARM] Add setup_mm_for_reboot() for nommu 2006-09-27 15:43:47 +01:00
pgd.c [ARM] Rename mm-armv.c to pgd.c 2006-09-27 15:40:28 +01:00
proc-arm6_7.S
proc-arm7tdmi.S [ARM] nommu: add ARM7TDMI core support 2006-09-27 17:39:17 +01:00
proc-arm9tdmi.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
proc-arm720.S [PATCH] ARM: Fixup missing includes in arch/arm/mm/proc-<cputype>.S 2006-07-02 17:29:22 -07:00
proc-arm740.S [ARM] nommu: add ARM740T core support 2006-09-27 17:39:17 +01:00
proc-arm920.S
proc-arm922.S
proc-arm925.S [ARM] Fix bad asm instruction in proc-arm925.S 2006-07-03 12:44:30 +01:00
proc-arm926.S [ARM] 3773/1: Add the HWCAP_VFP bit for the ARM926 CPUs 2006-09-06 19:03:28 +01:00
proc-arm940.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
proc-arm946.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
proc-arm1020.S [ARM] More missing proc-macros.S includes 2006-07-03 12:36:07 +01:00
proc-arm1020e.S [ARM] More missing proc-macros.S includes 2006-07-03 12:36:07 +01:00
proc-arm1022.S [ARM] More missing proc-macros.S includes 2006-07-03 12:36:07 +01:00
proc-arm1026.S [ARM] More missing proc-macros.S includes 2006-07-03 12:36:07 +01:00
proc-macros.S
proc-sa110.S [PATCH] ARM: Fixup missing includes in arch/arm/mm/proc-<cputype>.S 2006-07-02 17:29:22 -07:00
proc-sa1100.S [PATCH] ARM: Fixup missing includes in arch/arm/mm/proc-<cputype>.S 2006-07-02 17:29:22 -07:00
proc-syms.c [ARM] 3737/1: Export ARM copy/clear_user_page symbols 2006-07-29 08:29:27 +01:00
proc-v6.S
proc-xsc3.S
proc-xscale.S [ARM] 3814/1: move 80200 dma_inv_range() erratum check out of line 2006-09-25 10:25:27 +01:00
tlb-v3.S
tlb-v4.S
tlb-v4wb.S
tlb-v4wbi.S
tlb-v6.S