)]}'
{
  "commit": "43675e6fbbeadca90c6c5031557ff95e217e6d2f",
  "tree": "a7361795ddb2f60abf43019208cd31b229e86a9a",
  "parents": [
    "26f26bedab337c9c7e1e55b21949a3e2e0d62840"
  ],
  "author": {
    "name": "Yang Shi",
    "email": "yang.shi@linux.alibaba.com",
    "time": "Thu Jul 18 15:57:24 2019 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jul 18 17:08:06 2019 -0700"
  },
  "message": "mm: thp: make transhuge_vma_suitable available for anonymous THP\n\ntranshuge_vma_suitable() was only available for shmem THP, but anonymous\nTHP has the same check except pgoff check.  And, it will be used for THP\neligible check in the later patch, so make it available for all kind of\nTHPs.  This also helps reduce code duplication slightly.\n\nSince anonymous THP doesn\u0027t have to check pgoff, so make pgoff check\nshmem vma only.\n\nAnd regroup some functions in include/linux/mm.h to solve compile issue\nsince transhuge_vma_suitable() needs call vma_is_anonymous() which was\ndefined after huge_mm.h is included.\n\n[akpm@linux-foundation.org: fix typo]\n[yang.shi@linux.alibaba.com: v4]\n  Link: http://lkml.kernel.org/r/1563400758-124759-2-git-send-email-yang.shi@linux.alibaba.com\nLink: http://lkml.kernel.org/r/1560401041-32207-2-git-send-email-yang.shi@linux.alibaba.com\nSigned-off-by: Yang Shi \u003cyang.shi@linux.alibaba.com\u003e\nAcked-by: Hugh Dickins \u003chughd@google.com\u003e\nCc: Kirill A. Shutemov \u003ckirill.shutemov@linux.intel.com\u003e\nCc: Michal Hocko \u003cmhocko@suse.com\u003e\nCc: Vlastimil Babka \u003cvbabka@suse.cz\u003e\nCc: David Rientjes \u003crientjes@google.com\u003e\nCc: Andrea Arcangeli \u003caarcange@redhat.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": "7cd5c150c21d9ebed9aeba2c0306a7d88b4233a7",
      "old_mode": 33188,
      "old_path": "include/linux/huge_mm.h",
      "new_id": "45ede62aa85be47370719dae4004c88ec1796e06",
      "new_mode": 33188,
      "new_path": "include/linux/huge_mm.h"
    },
    {
      "type": "modify",
      "old_id": "bd6512559bed3f828cf8a766a0a08755376b174a",
      "old_mode": 33188,
      "old_path": "include/linux/mm.h",
      "new_id": "48ab7b982d828bbb5085b038d09df805ea14bdc9",
      "new_mode": 33188,
      "new_path": "include/linux/mm.h"
    },
    {
      "type": "modify",
      "old_id": "885642c82aaa2f1423ad2fd74b59239d5effee94",
      "old_mode": 33188,
      "old_path": "mm/huge_memory.c",
      "new_id": "782dd1446a3e959578d38606ada4b4ff0d5bdeec",
      "new_mode": 33188,
      "new_path": "mm/huge_memory.c"
    },
    {
      "type": "modify",
      "old_id": "89325f9c617381da6ec2a4a295c0da6c8af0dcb9",
      "old_mode": 33188,
      "old_path": "mm/memory.c",
      "new_id": "e2bb51b6242e5814896b79cce637008f73a073bb",
      "new_mode": 33188,
      "new_path": "mm/memory.c"
    }
  ]
}
