)]}'
{
  "commit": "1cf3eb2ff6b0844c678f2f48d0053b9d12b7da67",
  "tree": "58a0a517bfd6703bf89e310173703d229389b8d4",
  "parents": [
    "a6525042bfdfcab128bd91fad264de10fd24a55e"
  ],
  "author": {
    "name": "Jeff Mahoney",
    "email": "jeffm@suse.com",
    "time": "Tue Jan 27 23:48:59 2009 +0200"
  },
  "committer": {
    "name": "Pekka Enberg",
    "email": "penberg@cs.helsinki.fi",
    "time": "Tue Jan 27 23:48:59 2009 +0200"
  },
  "message": "kmalloc: return NULL instead of link failure\n\nThe SLAB kmalloc with a constant value isn\u0027t consistent with the other\nimplementations because it bails out with __you_cannot_kmalloc_that_much\nrather than returning NULL and properly allowing the caller to fall back\nto vmalloc or take other action.  This doesn\u0027t happen with a non-constant\nvalue or with SLOB or SLUB.\n\nStarting with 2.6.28, I\u0027ve been seeing build failures on s390x.  This is\ndue to init_section_page_cgroup trying to allocate 2.5MB when the max size\nfor a kmalloc on s390x is 2MB.\n\nIt\u0027s failing because the value is constant.  The workarounds at the call\nsize are ugly and the caller shouldn\u0027t have to change behavior depending\non what the backend of the API is.\n\nSo, this patch eliminates the link failure and returns NULL like the other\nimplementations.\n\nSigned-off-by: Jeff Mahoney \u003cjeffm@suse.com\u003e\nCc: Martin Schwidefsky \u003cschwidefsky@de.ibm.com\u003e\nCc: Heiko Carstens \u003cheiko.carstens@de.ibm.com\u003e\nCc: Christoph Lameter \u003ccl@linux-foundation.org\u003e\nCc: Pekka Enberg \u003cpenberg@cs.helsinki.fi\u003e\nCc: Matt Mackall \u003cmpm@selenic.com\u003e\nCc: Nick Piggin \u003cnickpiggin@yahoo.com.au\u003e\nCc: \u003cstable@kernel.org\u003e\t\t[2.6.28.x]\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Pekka Enberg \u003cpenberg@cs.helsinki.fi\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "39c3a5eb8ebe677851fedd8c8ff6a70730d17c0b",
      "old_mode": 33188,
      "old_path": "include/linux/slab_def.h",
      "new_id": "6ca6a7b66d75c36eb5ab30d4f5f3784a4e9ea8aa",
      "new_mode": 33188,
      "new_path": "include/linux/slab_def.h"
    }
  ]
}
