Release 4.10 arch/um/kernel/reboot.c
/*
* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <linux/oom.h>
#include <kern_util.h>
#include <os.h>
#include <skas.h>
void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);
static void kill_off_processes(void)
{
struct task_struct *p;
int pid;
read_lock(&tasklist_lock);
for_each_process(p) {
struct task_struct *t;
t = find_lock_task_mm(p);
if (!t)
continue;
pid = t->mm->context.id.u.pid;
task_unlock(t);
os_kill_ptraced_process(pid, 1);
}
read_unlock(&tasklist_lock);
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jeff dike | jeff dike | 46 | 58.97% | 2 | 40.00% |
anton vorontsov | anton vorontsov | 32 | 41.03% | 3 | 60.00% |
| Total | 78 | 100.00% | 5 | 100.00% |
void uml_cleanup(void)
{
kmalloc_ok = 0;
do_uml_exitcalls();
kill_off_processes();
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jeff dike | jeff dike | 17 | 100.00% | 2 | 100.00% |
| Total | 17 | 100.00% | 2 | 100.00% |
void machine_restart(char * __unused)
{
uml_cleanup();
reboot_skas();
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jeff dike | jeff dike | 15 | 100.00% | 3 | 100.00% |
| Total | 15 | 100.00% | 3 | 100.00% |
void machine_power_off(void)
{
uml_cleanup();
halt_skas();
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jeff dike | jeff dike | 13 | 100.00% | 3 | 100.00% |
| Total | 13 | 100.00% | 3 | 100.00% |
void machine_halt(void)
{
machine_power_off();
}
Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jeff dike | jeff dike | 10 | 100.00% | 1 | 100.00% |
| Total | 10 | 100.00% | 1 | 100.00% |
Overall Contributors
| Person | Tokens | Prop | Commits | CommitProp |
jeff dike | jeff dike | 110 | 65.09% | 6 | 46.15% |
anton vorontsov | anton vorontsov | 36 | 21.30% | 3 | 23.08% |
eric w. biederman | eric w. biederman | 9 | 5.33% | 1 | 7.69% |
al viro | al viro | 7 | 4.14% | 1 | 7.69% |
richard weinberger | richard weinberger | 5 | 2.96% | 1 | 7.69% |
tejun heo | tejun heo | 2 | 1.18% | 1 | 7.69% |
| Total | 169 | 100.00% | 13 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.