)]}'
{
  "commit": "68a3a7feb08f960095072f28ec20f7900793c506",
  "tree": "1d458822fd4414997b6f12ad8a915f785d7e730f",
  "parents": [
    "9d99aaa31f5994d1923c3713ce9144c4c42332e1"
  ],
  "author": {
    "name": "Andi Kleen",
    "email": "ak@suse.de",
    "time": "Fri Apr 07 19:49:18 2006 +0200"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Sun Apr 09 11:53:16 2006 -0700"
  },
  "message": "[PATCH] x86_64: Reserve SRAT hotadd memory on x86-64\n\nFrom: Keith Mannthey, Andi Kleen\n\nImplement memory hotadd without sparsemem. The memory in the SRAT\nhotadd area is just preserved instead and can be activated later.\n\nThere are a few restrictions:\n- Only one continuous hotadd area allowed per node\n\nThe main problem is dealing with the many buggy SRAT tables\nthat are out there. The strategy here is to reject anything\nsuspicious.\n\nOriginally from Keith Mannthey, with several hacks and changes by AK\nand also contributions from Andrew Morton\n\n[ TBD: Problems pointed out by KAMEZAWA Hiroyuki \u003ckamezawa.hiroyu@jp.fujitsu.com\u003e:\n\n 1) Goto\u0027s rebuild_zonelist patch will not work if CONFIG_MEMORY_HOTPLUG\u003dn.\n\n    Rebuilding zonelist is necessary when the system has just memory \u003c\n    4G at boot, and hot add memory \u003e 4G.  because x86_64 has DMA32,\n    ZONE_NORAML is not included into zonelist at boot time if system\n    doesn\u0027t have memory \u003e4G at boot.\n\n    [AK: should just force the higher zones at boot time when SRAT tells us]\n\n 2) zone and node\u0027s spanned_pages and present_pages are not incremented.\n    They should be.\n\n    For example, our server (ia64/Fujitsu PrimeQuest) can equip memory\n    from 4G to 1T(maybe 2T in future), and SRAT will *always* say we have\n    possible 1T +memory.  (Microsoft requires \"write all possible memory\n    in SRAT\") When we reserve memmap for possible 1T memory, Linux will\n    not work well in +minimum 4G configuraion ;)\n\n    [AK: needs limiting to 5-10% of max memory]\n ]\n\nSigned-off-by: Andi Kleen \u003cak@suse.de\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1921353259aeeca2ab07f4ced32a8cd0f3edc559",
      "old_mode": 33188,
      "old_path": "Documentation/x86_64/boot-options.txt",
      "new_id": "f2cd6ef53ff33e92f6545a43a7f2498c0582b107",
      "new_mode": 33188,
      "new_path": "Documentation/x86_64/boot-options.txt"
    },
    {
      "type": "modify",
      "old_id": "4921611684026a967dbbe6fc2eeac32d148432c8",
      "old_mode": 33188,
      "old_path": "arch/x86_64/mm/init.c",
      "new_id": "dff8705341995a0b07e295aae76bc266197e9c3c",
      "new_mode": 33188,
      "new_path": "arch/x86_64/mm/init.c"
    },
    {
      "type": "modify",
      "old_id": "4be82d6e2b48162327b6e58d632636946539f092",
      "old_mode": 33188,
      "old_path": "arch/x86_64/mm/numa.c",
      "new_id": "779132af29a70b073d408abc7d916c35028525a5",
      "new_mode": 33188,
      "new_path": "arch/x86_64/mm/numa.c"
    },
    {
      "type": "modify",
      "old_id": "2eb879590dc42107bd4fc0ef7a4019d1617e7055",
      "old_mode": 33188,
      "old_path": "arch/x86_64/mm/srat.c",
      "new_id": "443875eb15a29aeb0ceab5aee26a0b6f6aa5789d",
      "new_mode": 33188,
      "new_path": "arch/x86_64/mm/srat.c"
    },
    {
      "type": "modify",
      "old_id": "f6cbb4cbb5a3e9bd262c289473dcb3815b5ecf1d",
      "old_mode": 33188,
      "old_path": "include/asm-x86_64/numa.h",
      "new_id": "f0ba4d984bdf7f561d759480d54990d968729be3",
      "new_mode": 33188,
      "new_path": "include/asm-x86_64/numa.h"
    }
  ]
}
