)]}'
{
  "commit": "3eb4140f0389bdada022d5e8efd88504ad30df14",
  "tree": "6f3f229a2a3bee1bd0a5846c7e7f7987a5cc602b",
  "parents": [
    "8cab4754d24a0f2e05920170c845bd84472814c6"
  ],
  "author": {
    "name": "Wu Fengguang",
    "email": "fengguang.wu@intel.com",
    "time": "Tue Jun 16 15:33:13 2009 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Jun 16 19:47:45 2009 -0700"
  },
  "message": "vmscan: merge duplicate code in shrink_active_list()\n\nThe \"move pages to active list\" and \"move pages to inactive list\" code\nblocks are mostly identical and can be served by a function.\n\nThanks to Andrew Morton for pointing this out.\n\nNote that buffer_heads_over_limit check will also be carried out for\nre-activated pages, which is slightly different from pre-2.6.28 kernels.\nAlso, Rik\u0027s \"vmscan: evict use-once pages first\" patch could totally stop\nscans of active file list when memory pressure is low.  So the net effect\ncould be, the number of buffer heads is now more likely to grow large.\n\nHowever that\u0027s fine according to Johannes\u0027 comments:\n\n  I don\u0027t think that this could be harmful.  We just preserve the buffer\n  mappings of what we consider the working set and with low memory\n  pressure, as you say, this set is not big.\n\n  As to stripping of reactivated pages: the only pages we re-activate\n  for now are those VM_EXEC mapped ones.  Since we don\u0027t expect IO from\n  or to these pages, removing the buffer mappings in case they grow too\n  large should be okay, I guess.\n\nCc: Pekka Enberg \u003cpenberg@cs.helsinki.fi\u003e\nAcked-by: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nReviewed-by: Rik van Riel \u003criel@redhat.com\u003e\nReviewed-by: Minchan Kim \u003cminchan.kim@gmail.com\u003e\nReviewed-by: Johannes Weiner \u003channes@cmpxchg.org\u003e\nSigned-off-by: Wu Fengguang \u003cfengguang.wu@intel.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1024979d658945f150662bd10345975dd1fc0ce4",
      "old_mode": 33188,
      "old_path": "mm/vmscan.c",
      "new_id": "f3a55d1f9ab7875386cc7df223ca5e538ca995b0",
      "new_mode": 33188,
      "new_path": "mm/vmscan.c"
    }
  ]
}
