)]}'
{
  "commit": "65b036c38107ef805edc7734b705157a8d9d43bd",
  "tree": "78983475b9353411b4dd74d8d42bd99c9f70c146",
  "parents": [
    "b4bab6f8b351630211b0617ac91fb532d6aaf16d"
  ],
  "author": {
    "name": "Gustavo Niemeyer",
    "email": "gustavo@niemeyer.net",
    "time": "Fri Jun 24 00:29:59 2011 -0300"
  },
  "committer": {
    "name": "Gustavo Niemeyer",
    "email": "gustavo@niemeyer.net",
    "time": "Fri Jun 24 00:29:59 2011 -0300"
  },
  "message": "runtime: don\u0027t use twice the memory with grsec-like kernels\n\ngrsec needs the FIXED flag to be provided to mmap, which\nworks now.  That said, when the allocation fails to be made\nin the specific address, we\u0027re still given back a writable\npage.  This change will unmap that page to avoid using\ntwice the amount of memory needed.\n\nIt\u0027d also be pretty easy to avoid the extra system calls\nonce we detected that the flag is needed, but I\u0027m not sure\nif that edge case is worth the effort.\n\nR\u003dgolang-dev, rsc\nCC\u003dgolang-dev\nhttps://golang.org/cl/4634086\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "38ca7e4a0f973f60cb61b503a7246f88d8024b26",
      "old_mode": 33188,
      "old_path": "src/pkg/runtime/linux/mem.c",
      "new_id": "ad0fac6d3f48fcc0c20ab66a34aef7ffba66dd53",
      "new_mode": 33188,
      "new_path": "src/pkg/runtime/linux/mem.c"
    }
  ]
}
