)]}'
{
  "commit": "ce65cefa5debefc0e81d0a533bda467f0aa67350",
  "tree": "326946387f9add11f607bea19b2f8367de348e8e",
  "parents": [
    "41f727fde1fe40efeb4fef6fdce74ff794be5aeb"
  ],
  "author": {
    "name": "Vladimir Davydov",
    "email": "vdavydov@parallels.com",
    "time": "Fri Aug 08 14:21:58 2014 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Aug 08 15:57:23 2014 -0700"
  },
  "message": "fork: reset mm-\u003epinned_vm\n\nmm-\u003epinned_vm counts pages of mm\u0027s address space that were permanently\npinned in memory by increasing their reference counter. The counter was\nintroduced by commit bc3e53f682d9 (\"mm: distinguish between mlocked and\npinned pages\"), while before it locked_vm had been used for such pages.\n\nObviously, we should reset the counter on fork if !CLONE_VM, just like\nwe do with locked_vm, but currently we don\u0027t. Let\u0027s fix it.\n\nThis patch will fix the contents of /proc/pid/status:VmPin.\n\nib_umem_get[infiniband] and perf_mmap still check pinned_vm against\nRLIMIT_MEMLOCK.  It\u0027s left from the times when pinned pages were accounted\nunder locked_vm, but today it looks wrong.  It isn\u0027t clear how we should\ndeal with it.\n\nWe still have some drivers accounting pinned pages under mm-\u003elocked_vm -\nthis is what commit bc3e53f682d9 was fighting against.  It\u0027s\ninfiniband/usnic and vfio.\n\nSigned-off-by: Vladimir Davydov \u003cvdavydov@parallels.com\u003e\nCc: Oleg Nesterov \u003coleg@redhat.com\u003e\nCc: David Rientjes \u003crientjes@google.com\u003e\nCc: Christoph Lameter \u003ccl@linux.com\u003e\nCc: Roland Dreier \u003croland@kernel.org\u003e\nCc: Sean Hefty \u003csean.hefty@intel.com\u003e\nCc: Hal Rosenstock \u003chal.rosenstock@gmail.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": "418b52a9ec6ad7ea088ef00280d27c5b4c23b9c4",
      "old_mode": 33188,
      "old_path": "kernel/fork.c",
      "new_id": "5a547a59a38a159abc7f1b2bb2f205180d6e1492",
      "new_mode": 33188,
      "new_path": "kernel/fork.c"
    }
  ]
}
