)]}'
{
  "commit": "720e14ebec642bc56c44e5e60a2d595900e5bbf0",
  "tree": "0cf640d04be919592ed18fc197491732f7e630fd",
  "parents": [
    "50a7ca3c6fc86955f99fc432fc8a186b968b365b"
  ],
  "author": {
    "name": "Pavel Tatashin",
    "email": "pasha.tatashin@oracle.com",
    "time": "Fri Aug 17 15:44:52 2018 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Aug 17 16:20:28 2018 -0700"
  },
  "message": "mm: skip invalid pages block at a time in zero_resv_unresv()\n\nThe role of zero_resv_unavail() is to make sure that every struct page\nthat is allocated but is not backed by memory that is accessible by\nkernel is zeroed and not in some uninitialized state.\n\nSince struct pages are allocated in blocks (2M pages in x86 case), we\ncan skip pageblock_nr_pages at a time, when the first one is found to be\ninvalid.\n\nThis optimization may help since now on x86 every hole in e820 maps is\nmarked as reserved in memblock, and thus will go through this function.\n\nThis function is called before sched_clock() is initialized, so I used\nmy x86 early boot clock patches to measure the performance improvement.\n\nWith 1T hole on i7-8700 currently we would take 0.606918s of boot time,\nbut with this optimization 0.001103s.\n\nLink: http://lkml.kernel.org/r/20180615155733.1175-1-pasha.tatashin@oracle.com\nSigned-off-by: Pavel Tatashin \u003cpasha.tatashin@oracle.com\u003e\nReviewed-by: Oscar Salvador \u003cosalvador@suse.de\u003e\nReviewed-by: Naoya Horiguchi \u003cn-horiguchi@ah.jp.nec.com\u003e\nCc: Pasha Tatashin \u003cPavel.Tatashin@microsoft.com\u003e\nCc: Steven Sistare \u003csteven.sistare@oracle.com\u003e\nCc: Daniel Jordan \u003cdaniel.m.jordan@oracle.com\u003e\nCc: Michal Hocko \u003cmhocko@suse.com\u003e\nCc: Matthew Wilcox \u003cwilly@infradead.org\u003e\nCc: Ingo Molnar \u003cmingo@kernel.org\u003e\nCc: Dan Williams \u003cdan.j.williams@intel.com\u003e\nCc: \"Huang, Ying\" \u003cying.huang@intel.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": "0922ef5d2e46075d187a49fbb5d2a44d00545b85",
      "old_mode": 33188,
      "old_path": "mm/page_alloc.c",
      "new_id": "33f6745bb6494e29da5ae1fbcb4302d8b37afc73",
      "new_mode": 33188,
      "new_path": "mm/page_alloc.c"
    }
  ]
}
