Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308911
b: refs/heads/master
c: 27ac81d
h: refs/heads/master
i:
  308909: 9b61ada
  308907: bdd9231
  308903: 6d630d1
  308895: 6050aa0
v: v3
  • Loading branch information
Konstantin Khlebnikov authored and Linus Torvalds committed May 29, 2012
1 parent 08027fa commit a210cde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 95d918fc009072c2f88ce2e8b5db2e5abfad7c3e
refs/heads/master: 27ac81d85e5cfcc755dd5fa3f04dc883ab5d821b
8 changes: 4 additions & 4 deletions trunk/mm/vmscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1155,11 +1155,11 @@ static int too_many_isolated(struct zone *zone, int file,
}

static noinline_for_stack void
putback_inactive_pages(struct mem_cgroup_zone *mz,
putback_inactive_pages(struct lruvec *lruvec,
struct list_head *page_list)
{
struct zone_reclaim_stat *reclaim_stat = get_reclaim_stat(mz);
struct zone *zone = mz->zone;
struct zone_reclaim_stat *reclaim_stat = &lruvec->reclaim_stat;
struct zone *zone = lruvec_zone(lruvec);
LIST_HEAD(pages_to_free);

/*
Expand Down Expand Up @@ -1278,7 +1278,7 @@ shrink_inactive_list(unsigned long nr_to_scan, struct mem_cgroup_zone *mz,
nr_reclaimed);
}

putback_inactive_pages(mz, &page_list);
putback_inactive_pages(lruvec, &page_list);

__mod_zone_page_state(zone, NR_ISOLATED_ANON + file, -nr_taken);

Expand Down

0 comments on commit a210cde

Please sign in to comment.