Re: [PATCH] fix oom_kill_task

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Alternatively, if sending SIGKILL is intended, here's the patch that fixes the 
comment.

Thanks,

Signed-Off-By: Colin Leroy <[email protected]>
--- a/mm/oom_kill.c	2005-09-09 17:29:08.000000000 +0200
+++ b/mm/oom_kill.c	2005-09-09 17:32:47.000000000 +0200
@@ -168,11 +168,6 @@ static struct task_struct * select_bad_p
 	return chosen;
 }
 
-/**
- * We must be careful though to never send SIGKILL a process with
- * CAP_SYS_RAW_IO set, send SIGTERM instead (but it's unlikely that
- * we select a process with CAP_SYS_RAW_IO set).
- */
 static void __oom_kill_task(task_t *p)
 {
 	if (p->pid == 1) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux