)]}'
{
  "commit": "2f60f8d3573ff90fe5d75a6d11fd2add1248e7d6",
  "tree": "173980b12459aa55586d3f4f56630abf5af1ffcc",
  "parents": [
    "b68e9f857271189bd7a59b74c99890de9195b0e1"
  ],
  "author": {
    "name": "Simon Derr",
    "email": "Simon.Derr@bull.net",
    "time": "Thu Aug 04 19:52:03 2005 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Thu Aug 04 21:43:14 2005 -0700"
  },
  "message": "[PATCH] __vm_enough_memory() signedness fix\n\nWe have found what seems to be a small bug in __vm_enough_memory() when\nsysctl_overcommit_memory is set to OVERCOMMIT_NEVER.\n\nWhen this bug occurs the systems fails to boot, with /sbin/init whining\nabout fork() returning ENOMEM.\n\nWe hunted down the problem to this:\n\nThe deferred update mecanism used in vm_acct_memory(), on a SMP system,\nallows the vm_committed_space counter to have a negative value.\n\nThis should not be a problem since this counter is known to be inaccurate.\n\nBut in __vm_enough_memory() this counter is compared to the `allowed\u0027\nvariable, which is an unsigned long.  This comparison is broken since it\nwill consider the negative values of vm_committed_space to be huge positive\nvalues, resulting in a memory allocation failure.\n\nSigned-off-by: \u003cJean-Marc.Saffroy@ext.bull.net\u003e\nSigned-off-by: \u003cSimon.Derr@bull.net\u003e\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": "da3fa90a0aae2b9af04ec553209deb6a51b80b48",
      "old_mode": 33188,
      "old_path": "mm/mmap.c",
      "new_id": "404319477e71d61679166bc954ed246719affe89",
      "new_mode": 33188,
      "new_path": "mm/mmap.c"
    },
    {
      "type": "modify",
      "old_id": "ce74452c02d945e40e6cdb503499609f24e1cd64",
      "old_mode": 33188,
      "old_path": "mm/nommu.c",
      "new_id": "fd4e8df0f02df979bb2a2de5a891e35f82754a7d",
      "new_mode": 33188,
      "new_path": "mm/nommu.c"
    }
  ]
}
