)]}'
{
  "commit": "caefba1740d8016e6dfe8fda84f85bdcb8f8c85d",
  "tree": "78a74e7a42b94ac83c736849c46767b7efeb8ef1",
  "parents": [
    "61609d01cbb3ab865c8cccaf85e6837c47096480"
  ],
  "author": {
    "name": "Hugh Dickins",
    "email": "hugh@veritas.com",
    "time": "Mon Apr 13 14:40:12 2009 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Mon Apr 13 15:04:33 2009 -0700"
  },
  "message": "shmem: respect MAX_LFS_FILESIZE\n\nSHMEM_MAX_BYTES was derived from the maximum size of its triple-indirect\nswap vector, forgetting to take the MAX_LFS_FILESIZE limit into account.\nNever mind 256kB pages, even 8kB pages on 32-bit kernels allowed files to\ngrow slightly bigger than that supposed maximum.\n\nFix this by using the min of both (at build time not run time).  And it\nhappens that this calculation is good as far as 8MB pages on 32-bit or\n16MB pages on 64-bit: though SHMSWP_MAX_INDEX gets truncated before that,\nit\u0027s truncated to such large numbers that we don\u0027t need to care.\n\n[akpm@linux-foundation.org: it needs pagemap.h]\n[akpm@linux-foundation.org: fix sparc64 min() warnings]\nSigned-off-by: Hugh Dickins \u003chugh@veritas.com\u003e\nCc: Yuri Tikhonov \u003cyur@emcraft.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Randy Dunlap \u003crandy.dunlap@oracle.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": "28024ce8b8fdd6c298de4f672321b1e32fca4653",
      "old_mode": 33188,
      "old_path": "mm/shmem.c",
      "new_id": "f9cb20ebb990468d4fb88059f5dc8570b2fb80da",
      "new_mode": 33188,
      "new_path": "mm/shmem.c"
    }
  ]
}
