Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120655
b: refs/heads/master
c: a2f2945
h: refs/heads/master
i:
  120653: e5bc209
  120651: f19ddaa
  120647: 058f5ee
  120639: e031fcd
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Nov 11, 2008
1 parent 097a9ca commit 48bce6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06112163f5fd9e491a7f810443d81efa9d88e247
refs/heads/master: a2f2945a99057c7d44043465906c6bb63c3368a0
6 changes: 3 additions & 3 deletions trunk/mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ unsigned long badness(struct task_struct *p, unsigned long uptime)
* Superuser processes are usually more important, so we make it
* less likely that we kill those.
*/
if (has_capability(p, CAP_SYS_ADMIN) ||
has_capability(p, CAP_SYS_RESOURCE))
if (has_capability_noaudit(p, CAP_SYS_ADMIN) ||
has_capability_noaudit(p, CAP_SYS_RESOURCE))
points /= 4;

/*
Expand All @@ -139,7 +139,7 @@ unsigned long badness(struct task_struct *p, unsigned long uptime)
* tend to only have this flag set on applications they think
* of as important.
*/
if (has_capability(p, CAP_SYS_RAWIO))
if (has_capability_noaudit(p, CAP_SYS_RAWIO))
points /= 4;

/*
Expand Down

0 comments on commit 48bce6f

Please sign in to comment.