)]}'
{
  "commit": "b430d1fd6c7d22cc07e7c22a2ee1078667605313",
  "tree": "54b1a9bedc80489481967f8984ab4e649273c599",
  "parents": [
    "ad5ea8cd5b934cc082f2cda900b490def149908e"
  ],
  "author": {
    "name": "Sergey Senozhatsky",
    "email": "sergey.senozhatsky@gmail.com",
    "time": "Tue Sep 08 15:04:24 2015 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Tue Sep 08 15:35:28 2015 -0700"
  },
  "message": "zsmalloc: drop unused variable `nr_to_migrate\u0027\n\nThis patchset tweaks compaction and makes it possible to trigger pool\ncompaction automatically when system is getting low on memory.\n\nzsmalloc in some cases can suffer from a notable fragmentation and\ncompaction can release some considerable amount of memory.  The problem\nhere is that currently we fully rely on user space to perform compaction\nwhen needed.  However, performing zsmalloc compaction is not always an\nobvious thing to do.  For example, suppose we have a `idle\u0027 fragmented\n(compaction was never performed) zram device and system is getting low\non memory due to some 3rd party user processes (gcc LTO, or firefox,\netc.).  It\u0027s quite unlikely that user space will issue zpool compaction\nin this case.  Besides, user space cannot tell for sure how badly pool\nis fragmented; however, this info is known to zsmalloc and, hence, to a\nshrinker.\n\nThis patch (of 7):\n\n__zs_compact() does not use `nr_to_migrate\u0027, drop it.\n\nSigned-off-by: Sergey Senozhatsky \u003csergey.senozhatsky@gmail.com\u003e\nAcked-by: Minchan Kim \u003cminchan@kernel.org\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": "0a7f81aa2249c2c9925cceadd4737ec8c88bf259",
      "old_mode": 33188,
      "old_path": "mm/zsmalloc.c",
      "new_id": "7d816c2d74f9dcc94d9d67a8dd89f5dd8559880c",
      "new_mode": 33188,
      "new_path": "mm/zsmalloc.c"
    }
  ]
}
