)]}'
{
  "commit": "cba63c3089fe57bfafff56239a67ac26bfe027a0",
  "tree": "a247f3b0352e29e9da5cc07e840b28b5e27ba2e4",
  "parents": [
    "283bb7fada7e33a759d8fc9bd7a44532e4ad420e"
  ],
  "author": {
    "name": "Bernhard Walle",
    "email": "bwalle@suse.de",
    "time": "Thu Oct 18 23:40:58 2007 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@woody.linux-foundation.org",
    "time": "Fri Oct 19 11:53:49 2007 -0700"
  },
  "message": "Extended crashkernel command line\n\nThis patch adds a extended crashkernel syntax that makes the value of reserved\nsystem RAM dependent on the system RAM itself:\n\n    crashkernel\u003d\u003crange1\u003e:\u003csize1\u003e[,\u003crange2\u003e:\u003csize2\u003e,...][@offset]\n    range\u003dstart-[end]\n\nFor example:\n\n    crashkernel\u003d512M-2G:64M,2G-:128M\n\nThe motivation comes from distributors that configure their crashkernel\ncommand line automatically with some configuration tool (YaST, you know ;)).\nOf course that tool knows the value of System RAM, but if the user removes\nRAM, then the system becomes unbootable or at least unusable and error\nhandling is very difficult.\n\nThis series implements this change for i386, x86_64, ia64, ppc64 and sh.  That\nshould be all platforms that support kdump in current mainline.  I tested all\nplatforms except sh due to the lack of a sh processor.\n\nThis patch:\n\nThis is the generic part of the patch.  It adds a parse_crashkernel() function\nin kernel/kexec.c that is called by the architecture specific code that\nactually reserves the memory.  That function takes the whole command line and\nlooks itself for \"crashkernel\u003d\" in it.\n\nIf there are multiple occurrences, then the last one is taken.  The advantage\nis that if you have a bootloader like lilo or elilo which allows you to append\na command line parameter but not to remove one (like in GRUB), then you can\nadd another crashkernel value for testing at the boot command line and this\none overwrites the command line in the configuration then.\n\nSigned-off-by: Bernhard Walle \u003cbwalle@suse.de\u003e\nCc: Andi Kleen \u003cak@suse.de\u003e\nCc: \"Luck, Tony\" \u003ctony.luck@intel.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\nCc: Paul Mundt \u003clethal@linux-sh.org\u003e\nCc: Vivek Goyal \u003cvgoyal@in.ibm.com\u003e\nCc: \"Eric W. Biederman\" \u003cebiederm@xmission.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": "ad4b82ce84af13ffac6e2f3b381242f4bdde43d8",
      "old_mode": 33188,
      "old_path": "include/linux/kexec.h",
      "new_id": "2d9c448d8c52f4c21f61e36890e1219dc074e591",
      "new_mode": 33188,
      "new_path": "include/linux/kexec.h"
    },
    {
      "type": "modify",
      "old_id": "fbffdb457cce0e6f44cbef31285ec9de3e68f686",
      "old_mode": 33188,
      "old_path": "kernel/kexec.c",
      "new_id": "aa74a1ef2da8003768519e4283d2b392be0a4171",
      "new_mode": 33188,
      "new_path": "kernel/kexec.c"
    }
  ]
}
