android_kernel_xiaomi_sm7250/arch/ppc/kernel
Christoph Lameter 3e1d1d28d9 [PATCH] Cleanup patch for process freezing
1. Establish a simple API for process freezing defined in linux/include/sched.h:

   frozen(process)		Check for frozen process
   freezing(process)		Check if a process is being frozen
   freeze(process)		Tell a process to freeze (go to refrigerator)
   thaw_process(process)	Restart process
   frozen_process(process)	Process is frozen now

2. Remove all references to PF_FREEZE and PF_FROZEN from all
   kernel sources except sched.h

3. Fix numerous locations where try_to_freeze is manually done by a driver

4. Remove the argument that is no longer necessary from two function calls.

5. Some whitespace cleanup

6. Clear potential race in refrigerator (provides an open window of PF_FREEZE
   cleared before setting PF_FROZEN, recalc_sigpending does not check
   PF_FROZEN).

This patch does not address the problem of freeze_processes() violating the rule
that a task may only modify its own flags by setting PF_FREEZE. This is not clean
in an SMP environment. freeze(process) is therefore not SMP safe!

Signed-off-by: Christoph Lameter <christoph@lameter.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-25 17:10:13 -07:00
..
align.c [PATCH] ppc32: Fix address checking on lmw/stmw align exception 2005-05-01 08:58:42 -07:00
asm-offsets.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bitops.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpu_setup_6xx.S [PATCH] ppc32: Fix errata for some G3 CPUs 2005-05-01 08:58:40 -07:00
cpu_setup_power4.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cputable.c [PATCH] ppc32: Added support for new MPC8548 family of PowerQUICC III processors 2005-06-21 18:46:23 -07:00
dma-mapping.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
entry.S [PATCH] ppc32: Factor out common exception code into macro's for 4xx/Book-E 2005-06-21 18:46:25 -07:00
find_name.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fpu.S [PATCH] ppc32: refactor FPU exception handling 2005-05-01 08:58:40 -07:00
head_4xx.S [PATCH] ppc32: fix CONFIG_TASK_SIZE handling on 40x 2005-06-21 18:46:24 -07:00
head_8xx.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
head_44x.S [PATCH] ppc32: fix CONFIG_TASK_SIZE handling on 44x 2005-05-20 15:48:19 -07:00
head_booke.h [PATCH] ppc32: Factor out common exception code into macro's for 4xx/Book-E 2005-06-21 18:46:25 -07:00
head_fsl_booke.S [PATCH] ppc32: Fix some minor issues related to FSL Book-E KGDB support 2005-05-28 16:46:15 -07:00
head.S [PATCH] ppc32: refactor FPU exception handling 2005-05-01 08:58:40 -07:00
idle_6xx.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idle_power4.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idle.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
l2cr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] ppc32: refactor FPU exception handling 2005-05-01 08:58:40 -07:00
misc.S [PATCH] ppc32: Fix incorrect CPU_FTR fixup usage for unified caches 2005-06-06 14:42:23 -07:00
module.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci.c [PATCH] Driver Core: arch: update device attribute callbacks 2005-06-20 15:15:32 -07:00
perfmon_fsl_booke.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
perfmon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc_htab.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc_ksyms.c Add CONFIG_AUDITSC and CONFIG_SECCOMP support for ppc32 2005-05-08 15:56:09 +01:00
ppc-stub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
process.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ptrace.c Add CONFIG_AUDITSC and CONFIG_SECCOMP support for ppc32 2005-05-08 15:56:09 +01:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PATCH] ppc32: Kill embedded system.map, use kallsyms 2005-06-21 18:46:26 -07:00
signal.c [PATCH] Cleanup patch for process freezing 2005-06-25 17:10:13 -07:00
smp-tbsync.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
smp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softemu8xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
swsusp.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
syscalls.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
temp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
time.c [PATCH] ppc32: fix compilation error in arch/ppc/kernel/time.c 2005-04-16 15:24:28 -07:00
traps.c [PATCH] ppc32: don't recursively crash in die() on CHRP/PReP machines 2005-06-21 18:46:25 -07:00
vecemu.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vector.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vmlinux.lds.S [PATCH] ppc32: platform-specific functions missing from kallsyms. 2005-05-05 16:36:31 -07:00