)]}'
{
  "commit": "42b88befd6e0dae1a5fe04c03925037fa890e1f3",
  "tree": "c234584f797e65e1bcd0d4675d56d1eb004d6681",
  "parents": [
    "3915bcf38fe0b6d130b4bbde97804f29a0becf32"
  ],
  "author": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Wed Mar 22 00:09:01 2006 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Wed Mar 22 07:54:04 2006 -0800"
  },
  "message": "[PATCH] hugepage: is_aligned_hugepage_range() cleanup\n\nQuite a long time back, prepare_hugepage_range() replaced\nis_aligned_hugepage_range() as the callback from mm/mmap.c to arch code to\nverify if an address range is suitable for a hugepage mapping.\nis_aligned_hugepage_range() stuck around, but only to implement\nprepare_hugepage_range() on archs which didn\u0027t implement their own.\n\nMost archs (everything except ia64 and powerpc) used the same\nimplementation of is_aligned_hugepage_range().  On powerpc, which\nimplements its own prepare_hugepage_range(), the custom version was never\nused.\n\nIn addition, \"is_aligned_hugepage_range()\" was a bad name, because it\nsuggests it returns true iff the given range is a good hugepage range,\nwhereas in fact it returns 0-or-error (so the sense is reversed).\n\nThis patch cleans up by abolishing is_aligned_hugepage_range().  Instead\nprepare_hugepage_range() is defined directly.  Most archs use the default\nversion, which simply checks the given region is aligned to the size of a\nhugepage.  ia64 and powerpc define custom versions.  The ia64 one simply\nchecks that the range is in the correct address space region in addition to\nbeing suitably aligned.  The powerpc version (just as previously) checks\nfor suitable addresses, and if necessary performs low-level MMU frobbing to\nset up new areas for use by hugepages.\n\nNo libhugetlbfs testsuite regressions on ppc64 (POWER5 LPAR).\n\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\nSigned-off-by: Zhang Yanmin \u003cyanmin.zhang@intel.com\u003e\nCc: \"David S. Miller\" \u003cdavem@davemloft.net\u003e\nCc: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: William Lee Irwin III \u003cwli@holomorphy.com\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": "d524127c9afc3b2f92b3e5ad6b3dbce20bec42f7",
      "old_mode": 33188,
      "old_path": "arch/i386/mm/hugetlbpage.c",
      "new_id": "a7d8915854116264048f62c84d63dc495fc212b7",
      "new_mode": 33188,
      "new_path": "arch/i386/mm/hugetlbpage.c"
    },
    {
      "type": "modify",
      "old_id": "2d13889d0a9915da645b074ecbef1f8a0b56d116",
      "old_mode": 33188,
      "old_path": "arch/ia64/mm/hugetlbpage.c",
      "new_id": "9dbc7dadd1653a79b078fa1b79f1e43266db84db",
      "new_mode": 33188,
      "new_path": "arch/ia64/mm/hugetlbpage.c"
    },
    {
      "type": "modify",
      "old_id": "b51bb28c054bbb5e14007af0d9efee7be0806a3a",
      "old_mode": 33188,
      "old_path": "arch/powerpc/mm/hugetlbpage.c",
      "new_id": "7370f9f33e2943d038025a6d05ba6b4e02755beb",
      "new_mode": 33188,
      "new_path": "arch/powerpc/mm/hugetlbpage.c"
    },
    {
      "type": "modify",
      "old_id": "6b7a7688c98e87178d4915a1f17e8118213a5e63",
      "old_mode": 33188,
      "old_path": "arch/sh/mm/hugetlbpage.c",
      "new_id": "a3568fd51508e4435dfb217f4c6d42089dc7ea0c",
      "new_mode": 33188,
      "new_path": "arch/sh/mm/hugetlbpage.c"
    },
    {
      "type": "modify",
      "old_id": "ed6a505b3ee2b9e7194268449067c8e8746ae681",
      "old_mode": 33188,
      "old_path": "arch/sh64/mm/hugetlbpage.c",
      "new_id": "3d89f2a6c785cf70582cac9d231fb4e729e8eb01",
      "new_mode": 33188,
      "new_path": "arch/sh64/mm/hugetlbpage.c"
    },
    {
      "type": "modify",
      "old_id": "a7a24869d04576b67ec56216e474fef4ff3632a8",
      "old_mode": 33188,
      "old_path": "arch/sparc64/mm/hugetlbpage.c",
      "new_id": "280dc7958a13784a5485a0d3be6681cb5c2d8dea",
      "new_mode": 33188,
      "new_path": "arch/sparc64/mm/hugetlbpage.c"
    },
    {
      "type": "modify",
      "old_id": "732cf308674101af5daab2896ec0b62900f044f5",
      "old_mode": 33188,
      "old_path": "include/asm-ia64/page.h",
      "new_id": "3ab27333dae4c12fba4eaebbc3680d561e81f276",
      "new_mode": 33188,
      "new_path": "include/asm-ia64/page.h"
    },
    {
      "type": "modify",
      "old_id": "5db25ffdb3eb5e16eb910ce42412cfd97f533572",
      "old_mode": 33188,
      "old_path": "include/linux/hugetlb.h",
      "new_id": "d6f1019625af72294e578e2731199199e02dea15",
      "new_mode": 33188,
      "new_path": "include/linux/hugetlb.h"
    }
  ]
}
