)]}'
{
  "commit": "b77eab7079d9e477489d2416cceda05d3c1cf21f",
  "tree": "db51854b65b46eb9010567db52a5fd7fa9b73be4",
  "parents": [
    "f165b378bbdf6c8afd950060fc3cbc935bb890c6"
  ],
  "author": {
    "name": "Pavel Tatashin",
    "email": "pasha.tatashin@oracle.com",
    "time": "Thu Apr 05 16:22:52 2018 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Apr 05 21:36:25 2018 -0700"
  },
  "message": "mm/memory_hotplug: optimize probe routine\n\nWhen memory is hotplugged pages_correctly_reserved() is called to verify\nthat the added memory is present, this routine traverses through every\nstruct page and verifies that PageReserved() is set.  This is a slow\noperation especially if a large amount of memory is added.\n\nInstead of checking every page, it is enough to simply check that the\nsection is present, has mapping (struct page array is allocated), and\nthe mapping is online.\n\nIn addition, we should not excpect that probe routine sets flags in\nstruct page, as the struct pages have not yet been initialized.  The\ninitialization should be done in __init_single_page(), the same as\nduring boot.\n\nLink: http://lkml.kernel.org/r/20180215165920.8570-5-pasha.tatashin@oracle.com\nSigned-off-by: Pavel Tatashin \u003cpasha.tatashin@oracle.com\u003e\nAcked-by: Michal Hocko \u003cmhocko@suse.com\u003e\nCc: Ingo Molnar \u003cmingo@kernel.org\u003e\nCc: Baoquan He \u003cbhe@redhat.com\u003e\nCc: Bharata B Rao \u003cbharata@linux.vnet.ibm.com\u003e\nCc: Daniel Jordan \u003cdaniel.m.jordan@oracle.com\u003e\nCc: Dan Williams \u003cdan.j.williams@intel.com\u003e\nCc: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nCc: Kirill A. Shutemov \u003ckirill.shutemov@linux.intel.com\u003e\nCc: Mel Gorman \u003cmgorman@techsingularity.net\u003e\nCc: Steven Sistare \u003csteven.sistare@oracle.com\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Vlastimil Babka \u003cvbabka@suse.cz\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": "fe4b24f05f6ad0459c060489524289f352adfaec",
      "old_mode": 33188,
      "old_path": "drivers/base/memory.c",
      "new_id": "deb3f029b4518a8a844d0e2075b9c57c819cbe8d",
      "new_mode": 33188,
      "new_path": "drivers/base/memory.c"
    }
  ]
}
