projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01dbe5c
)
mm: kill zone_is_near_oom()
author
KOSAKI Motohiro
<kosaki.motohiro@jp.fujitsu.com>
Tue, 6 Jan 2009 22:40:03 +0000
(14:40 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:06 +0000
(15:59 -0800)
zone_is_near_oom() is unused.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c
patch
|
blob
|
history
diff --git
a/mm/vmscan.c
b/mm/vmscan.c
index
13f050d
..
466a36b
100644
(file)
--- a/
mm/vmscan.c
+++ b/
mm/vmscan.c
@@
-1167,11
+1167,6
@@
static inline void note_zone_scanning_priority(struct zone *zone, int priority)
zone->prev_priority = priority;
}
-static inline int zone_is_near_oom(struct zone *zone)
-{
- return zone->pages_scanned >= (zone_lru_pages(zone) * 3);
-}
-
/*
* This moves pages from the active list to the inactive list.
*