)]}'
{
  "commit": "b15e0905f2b9964fc7426fecab57445e96021b61",
  "tree": "bc1b3606cf282f88cd6598de22190eff6708affa",
  "parents": [
    "39c715b71740c4a78ba4769fb54826929bac03cb"
  ],
  "author": {
    "name": "akpm@osdl.org",
    "email": "akpm@osdl.org",
    "time": "Tue Jun 21 17:14:35 2005 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@ppc970.osdl.org",
    "time": "Tue Jun 21 18:46:13 2005 -0700"
  },
  "message": "[PATCH] vmscan: notice slab shrinking\n\nFix a problem identified by Andrea Arcangeli \u003candrea@suse.de\u003e\n\nkswapd will set a zone into all_unreclaimable state if it sees that we\u0027re not\nsuccessfully reclaiming LRU pages.  But that fails to notice that we\u0027re\nsuccessfully reclaiming slab obects, so we can set all_unreclaimable too soon.\n\nSo change shrink_slab() to return a success indication if it actually\nreclaimed some objects, and don\u0027t assume that the zone is all_unreclaimable if\nthat is true.  This means that we won\u0027t enter all_unreclaimable state if we\nare successfully freeing slab objects but we\u0027re not yet actually freeing slab\npages, due to internal fragmentation.\n\n(hm, this has a shortcoming.  We could be successfully freeing ZONE_NORMAL\nslab objects while being really oom on ZONE_DMA.  If that happens then kswapd\nmight burn a lot of CPU.  But given that there might be some slab objects in\nZONE_DMA, perhaps that is appropriate.)\n\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "269eded9b459804a8f090ea8dad0b908a4afef0d",
      "old_mode": 33188,
      "old_path": "mm/vmscan.c",
      "new_id": "c62cadce04261e55ce1e7ce7ae15ae183006024a",
      "new_mode": 33188,
      "new_path": "mm/vmscan.c"
    }
  ]
}
