Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126234
b: refs/heads/master
c: 09f445e
h: refs/heads/master
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Linus Torvalds committed Jan 6, 2009
1 parent 448bb75 commit e021a27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 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: 01dbe5c9b1004dab045cb7f38428258ca9cddc02
refs/heads/master: 09f445e7f5107c91be12ed386350de6cd055e0a4
5 changes: 0 additions & 5 deletions trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit e021a27

Please sign in to comment.