login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
November
»
30
Re: [PATCH v2]mm/oom-kill: direct hardware access processes should get bonus
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: KOSAKI Motohiro
Subject:
Re: [PATCH v2]mm/oom-kill: direct hardware access processes should get bonus
Date: Tuesday, November 30, 2010 - 6:00 am
> On Tue, 23 Nov 2010, KOSAKI Motohiro wrote:
quoted text
> > > > > > I think in cases of heuristics like this where we obviously want to give > > > > > some bonus to CAP_SYS_ADMIN that there is consistency with other bonuses > > > > > given elsewhere in the kernel. > > > > > > > > Keep comparision apple to apple. vm_enough_memory() account _virtual_ memory. > > > > oom-killer try to free _physical_ memory. It's unrelated. > > > > > > > > > > It's not unrelated, the LSM function gives an arbitrary 3% bonus to > > > CAP_SYS_ADMIN. > > > > Unrelated. LSM _is_ security module. and It only account virtual memory. > > > > I needed a small bias for CAP_SYS_ADMIN tasks so I chose 3% since it's the > same proportion used elsewhere in the kernel and works nicely since the > badness score is now a proportion.
Why? Is this important than X?
quoted text
> If you'd like to propose a different > percentage or suggest removing the bias for root tasks altogether, feel > free to propose a patch. Thanks!
I only need to revert bad change. Thanks. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH]oom-kill: direct hardware access processes should g ...
, Figo.zhang
, (Mon Nov 1, 6:43 pm)
Re: [PATCH]oom-kill: direct hardware access processes shou ...
, David Rientjes
, (Mon Nov 1, 8:10 pm)
Re: [PATCH]oom-kill: direct hardware access processes shou ...
, Figo.zhang
, (Tue Nov 2, 7:24 am)
Re: [PATCH]oom-kill: direct hardware access processes shou ...
, David Rientjes
, (Tue Nov 2, 12:34 pm)
[PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, Figo.zhang
, (Wed Nov 3, 4:43 pm)
Re: [PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, David Rientjes
, (Wed Nov 3, 4:47 pm)
Re:[PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, Figo.zhang
, (Wed Nov 3, 6:38 pm)
Re:[PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, David Rientjes
, (Wed Nov 3, 6:50 pm)
Re: Re:[PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, Figo.zhang
, (Wed Nov 3, 7:12 pm)
Re: Re:[PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, David Rientjes
, (Wed Nov 3, 7:54 pm)
Re: Re:[PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, Figo.zhang
, (Wed Nov 3, 9:42 pm)
Re: Re:[PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, David Rientjes
, (Wed Nov 3, 10:08 pm)
Re: [PATCH]oom-kill: direct hardware access processes shou ...
, KOSAKI Motohiro
, (Tue Nov 9, 3:41 am)
Re: [PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, KOSAKI Motohiro
, (Tue Nov 9, 4:01 am)
[PATCH v2]mm/oom-kill: direct hardware access processes sh ...
, Figo.zhang
, (Tue Nov 9, 5:24 am)
Re: [PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, Alan Cox
, (Tue Nov 9, 5:24 am)
Re: [PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, David Rientjes
, (Tue Nov 9, 2:06 pm)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, David Rientjes
, (Tue Nov 9, 2:16 pm)
Re: [PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, David Rientjes
, (Tue Nov 9, 2:25 pm)
Re: [PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, Figo.zhang
, (Wed Nov 10, 7:38 am)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, Figo.zhang
, (Wed Nov 10, 7:48 am)
[PATCH v3]mm/oom-kill: direct hardware access processes sh ...
, Figo.zhang
, (Wed Nov 10, 8:14 am)
[PATCH v3]mm/oom-kill: direct hardware access processes sh ...
, Figo.zhang
, (Wed Nov 10, 8:24 am)
Re: [PATCH v2]oom-kill: CAP_SYS_RESOURCE should get bonus
, David Rientjes
, (Wed Nov 10, 1:50 pm)
Re: [PATCH v3]mm/oom-kill: direct hardware access processe ...
, David Rientjes
, (Wed Nov 10, 2:00 pm)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, KOSAKI Motohiro
, (Sat Nov 13, 10:07 pm)
Re: [PATCH v3]mm/oom-kill: direct hardware access processe ...
, KOSAKI Motohiro
, (Sat Nov 13, 10:21 pm)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, David Rientjes
, (Sun Nov 14, 2:29 pm)
Re: [PATCH v3]mm/oom-kill: direct hardware access processe ...
, David Rientjes
, (Sun Nov 14, 2:33 pm)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, KOSAKI Motohiro
, (Sun Nov 14, 6:24 pm)
Re: [PATCH] Revert oom rewrite series
, Figo.zhang
, (Sun Nov 14, 8:26 pm)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, David Rientjes
, (Mon Nov 15, 3:03 am)
Re: [PATCH] Revert oom rewrite series
, David Rientjes
, (Mon Nov 15, 3:14 am)
Re: [PATCH] Revert oom rewrite series
, Alan Cox
, (Mon Nov 15, 3:57 am)
Re: [PATCH] Revert oom rewrite series
, David Rientjes
, (Mon Nov 15, 1:54 pm)
Re: [PATCH] Revert oom rewrite series
, KOSAKI Motohiro
, (Tue Nov 23, 12:16 am)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, KOSAKI Motohiro
, (Tue Nov 23, 12:16 am)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, David Rientjes
, (Sat Nov 27, 6:36 pm)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, KOSAKI Motohiro
, (Tue Nov 30, 6:00 am)
Re: [PATCH v2]mm/oom-kill: direct hardware access processe ...
, David Rientjes
, (Tue Nov 30, 1:05 pm)
Re: [PATCH v3]mm/oom-kill: direct hardware access processe ...
, Figo.zhang
, (Tue Jan 4, 12:51 am)
Re: [PATCH v3]mm/oom-kill: direct hardware access processe ...
, KAMEZAWA Hiroyuki
, (Tue Jan 4, 1:28 am)
Re: [PATCH v3]mm/oom-kill: direct hardware access processe ...
, Figo.zhang
, (Tue Jan 4, 1:56 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
git
:
Bill Lear
cpio command not found
Gary Yang
fatal: did you run git update-server-info on the server? mv post-update.sample pos...
Junio C Hamano
Re: [Discussion] cherry-picking a merge
Uwe
Re: "bash: git-upload-pack: command not found" ??
Oliver Hoffmann
git init --bare versus git --bare init
linux-netdev
:
Jamie Lokier
Re: [2/3] POHMELFS: Documentation.
Francois-Xavier Le Bail
[PATCH v2] net: typos in comments in include/linux/igmp.h
Stephen Hemminger
Re: vlan JMicron Technologies, Inc. JMC250 PCI Express Gigabit Ethernet
Sage Weil
Re: [2/3] POHMELFS: Documentation.
David Miller
Re: [net-next-2.6 PATCH 5/5] be2net: remove BUG_ON() when be2net runs out of mccq ...
openbsd-misc
:
openbsd
observed spamd behavior
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Ted Unangst
Re: OpenSMTPd actual development and integration
Paul M
Corrupted RAIDFrame device
new_guy
Longest Uptime?
git-commits-head
:
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
USB: rename usb_buffer_alloc() and usb_buffer_free()
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
intel_idle: native hardware cpuidle driver for latest Intel processors
Linux Kernel Mailing List
powerpc/fsl-booke: Move the entry setup code into a seperate file
Colocation donated by:
Syndicate