)]}'
{
  "commit": "82478fb7bca28e3ca2f3c55c14e690f749dd4dbb",
  "tree": "71023f480667dc3bfd255673437c76db77a05aa0",
  "parents": [
    "3305de51bf612603c9a4e4dc98ceb839ef933749"
  ],
  "author": {
    "name": "Johannes Weiner",
    "email": "hannes@cmpxchg.org",
    "time": "Thu Jan 20 14:44:21 2011 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jan 20 17:02:05 2011 -0800"
  },
  "message": "mm: compaction: prevent division-by-zero during user-requested compaction\n\nUp until 3e7d344 (\"mm: vmscan: reclaim order-0 and use compaction instead\nof lumpy reclaim\"), compaction skipped calculating the fragmentation index\nof a zone when compaction was explicitely requested through the procfs\nknob.\n\nHowever, when compaction_suitable was introduced, it did not come with an\nextra check for order \u003d\u003d -1, set on explicit compaction requests, and\npassed this order on to the fragmentation index calculation, where it\novershifts the number of requested pages, leading to a division by zero.\n\nThis patch makes sure that order \u003d\u003d -1 is recognized as the flag it is\nrather than passing it along as valid order parameter.\n\n[akpm@linux-foundation.org: add comment, per Mel]\nSigned-off-by: Johannes Weiner \u003channes@cmpxchg.org\u003e\nReviewed-by: Mel Gorman \u003cmel@csn.ul.ie\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": "6d592a021072a89048b6edd0ec79c8f965b83d49",
      "old_mode": 33188,
      "old_path": "mm/compaction.c",
      "new_id": "8be430b812def9f32058ffb8c7e259ff1375d98e",
      "new_mode": 33188,
      "new_path": "mm/compaction.c"
    }
  ]
}
