linux_dsm_epyc7002/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
..
abort-ev4.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-ev4t.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-ev5t.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-ev5tj.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
abort-ev6.S [ARM] CONFIG_CPU_MPCORE -> CONFIG_CPU_32v6K 2006-02-22 21:13:28 +00:00
abort-lv4t.S [ARM] nommu: abort handler fixup for !CPU_CP15_MMU cores. 2006-09-28 20:15:46 +01:00
abort-macro.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-v4.S [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
cache-v4wb.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cache-v4wt.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cache-v6.S [ARM] 3356/1: Workaround for the ARM1136 I-cache invalidation problem 2006-03-10 22:26:47 +00:00
consistent.c [ARM] 3439/2: xsc3: add I/O coherency support 2006-04-02 00:07:39 +01:00
context.c [ARM] Move mmu.c out of the way 2006-09-20 14:58:35 +01:00
copypage-v3.S [ARM] Remove LOADREGS macro 2006-06-25 11:23:45 +01:00
copypage-v4mc.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
copypage-v4wb.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
copypage-v4wt.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
copypage-v6.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
copypage-xsc3.S [ARM] 3377/2: add support for intel xsc3 core 2006-03-28 21:00:40 +01:00
copypage-xscale.c [ARM] Cleanup arch/arm/mm a little 2006-09-20 14:58:35 +01:00
discontig.c [ARM] Cleanup ARM includes 2006-01-03 17:39:34 +00:00
extable.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fault-armv.c [PATCH] mm: arm ready for split ptlock 2005-10-29 21:40:42 -07:00
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 [ARM] nommu: add stubs for ioremap and friends 2006-06-28 17:59:48 +01:00
ioremap.c [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -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
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 [ARM] Set bit 4 on section mappings correctly depending on CPU 2006-06-29 18:24:21 +01:00
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 Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-07-02 15:04:12 -07:00
proc-arm922.S Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-07-02 15:04:12 -07:00
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 [ARM] nommu: provide a way for correct control register value selection 2006-06-29 15:09:57 +01:00
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 Merge nommu branch 2006-07-01 20:43:57 +01:00
proc-xsc3.S Merge nommu branch 2006-07-01 20:43:57 +01:00
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 kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
tlb-v4.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
tlb-v4wb.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
tlb-v4wbi.S kbuild: arm - use generic asm-offsets.h support 2005-09-09 21:08:59 +02:00
tlb-v6.S [ARM] 3352/1: DSB required for the completion of a TLB maintenance operation 2006-03-07 14:42:27 +00:00