)]}'
{
  "commit": "d6be118a97ce51ca84035270f91c2bccecbfac5f",
  "tree": "dc9eeba631d2e424d64adfe82dfe0aed53c24b1c",
  "parents": [
    "14469a8dd23677921db5e7354a602c98d9c6300f"
  ],
  "author": {
    "name": "Prarit Bhargava",
    "email": "prarit@redhat.com",
    "time": "Tue Sep 09 09:56:08 2008 -0400"
  },
  "committer": {
    "name": "H. Peter Anvin",
    "email": "hpa@zytor.com",
    "time": "Tue Sep 09 11:54:53 2008 -0700"
  },
  "message": "x86: fix memmap\u003dexactmap boot argument\n\nWhen using kdump modifying the e820 map is yielding strange results.\n\nFor example starting with\n\n BIOS-provided physical RAM map:\n BIOS-e820: 0000000000000100 - 0000000000093400 (usable)\n BIOS-e820: 0000000000093400 - 00000000000a0000 (reserved)\n BIOS-e820: 0000000000100000 - 000000003fee0000 (usable)\n BIOS-e820: 000000003fee0000 - 000000003fef3000 (ACPI data)\n BIOS-e820: 000000003fef3000 - 000000003ff80000 (ACPI NVS)\n BIOS-e820: 000000003ff80000 - 0000000040000000 (reserved)\n BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)\n BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)\n BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)\n BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)\n\nand booting with args\n\nmemmap\u003dexactmap memmap\u003d640K@0K memmap\u003d5228K@16384K memmap\u003d125188K@22252K memmap\u003d76K#1047424K memmap\u003d564K#1047500K\n\nresulted in:\n\n user-defined physical RAM map:\n user: 0000000000000000 - 0000000000093400 (usable)\n user: 0000000000093400 - 00000000000a0000 (reserved)\n user: 0000000000100000 - 000000003fee0000 (usable)\n user: 000000003fee0000 - 000000003fef3000 (ACPI data)\n user: 000000003fef3000 - 000000003ff80000 (ACPI NVS)\n user: 000000003ff80000 - 0000000040000000 (reserved)\n user: 00000000e0000000 - 00000000f0000000 (reserved)\n user: 00000000fec00000 - 00000000fec10000 (reserved)\n user: 00000000fee00000 - 00000000fee01000 (reserved)\n user: 00000000ff000000 - 0000000100000000 (reserved)\n\nBut should have resulted in:\n\n user-defined physical RAM map:\n user: 0000000000000000 - 00000000000a0000 (usable)\n user: 0000000001000000 - 000000000151b000 (usable)\n user: 00000000015bb000 - 0000000008ffc000 (usable)\n user: 000000003fee0000 - 000000003ff80000 (ACPI data)\n\nThis is happening because of an improper usage of strcmp() in the\ne820 parsing code.  The strcmp() always returns !0 and never resets the\nvalue for e820.nr_map and returns an incorrect user-defined map.\n\nThis patch fixes the problem.\n\nSigned-off-by: Prarit Bhargava \u003cprarit@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9af89078f7bb0cb2b6ce7ed958c9483b24d4402e",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/e820.c",
      "new_id": "66e48aa2dd1b4dae8739f69841337386cc670889",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/e820.c"
    }
  ]
}
