)]}'
{
  "commit": "e057d7aea9d8f2a46cd440d8bfb72245d4e72d79",
  "tree": "8854a3298c136df54f9b25533bcbbd547b60f971",
  "parents": [
    "ec26b805879c7e77865b39ee91b737985e80006d"
  ],
  "author": {
    "name": "Mike Travis",
    "email": "travis@sgi.com",
    "time": "Mon Dec 15 20:26:48 2008 -0800"
  },
  "committer": {
    "name": "Rusty Russell",
    "email": "rusty@rustcorp.com.au",
    "time": "Fri Dec 19 17:47:04 2008 +1030"
  },
  "message": "cpumask: add sysfs displays for configured and disabled cpu maps\n\nImpact: add new sysfs files.\n\nAdd sysfs files \"kernel_max\" and \"offline\" to display the max CPU index\nallowed (NR_CPUS-1), and the map of cpus that are offline.\n\nCpus can be offlined via HOTPLUG, disabled by the BIOS ACPI tables, or\nif they exceed the number of cpus allowed by the NR_CPUS config option,\nor the \"maxcpus\u003dNUM\" kernel start parameter.\n\nThe \"possible_cpus\u003dNUM\" parameter can also extend the number of possible\ncpus allowed, in which case the cpus not present at startup will be\nin the offline state.  (These cpus can be HOTPLUGGED ON after system\nstartup [pending a follow-on patch to provide the capability via the\n/sys/devices/sys/cpu/cpuN/online mechanism to bring them online.])\n\nBy design, the \"offlined cpus \u003e possible cpus\" display will always\nuse the following formats:\n\n  * all possible cpus online:   \"x$\"    or \"x-y$\"\n  * some possible cpus offline: \".*,x$\" or \".*,x-y$\"\n\nwhere:\n  x \u003d\u003d number of possible cpus (nr_cpu_ids); and\n  y \u003d\u003d number of cpus \u003e\u003d NR_CPUS or maxcpus (if y \u003e x).\n\nOne use of this feature is for distros to select (or configure) the\nappropriate kernel to install for the resident system.\n\nNotes:\n  * cpus offlined \u003c\u003d possible cpus will be printed for all architectures.\n  * cpus offlined \u003e  possible cpus will only be printed for arches that\n  \tset \u0027total_cpus\u0027 [X86 only in this patch].\n\nBased on tip/cpus4096 + .../rusty/linux-2.6-for-ingo.git/master +\n\t x86-only-patches sent 12/15.\n\nSigned-off-by: Mike Travis \u003ctravis@sgi.com\u003e\nSigned-off-by: Rusty Russell \u003crusty@rustcorp.com.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4259072f5bd0960e113bb97d0f8aaa1818a8ab58",
      "old_mode": 33188,
      "old_path": "drivers/base/cpu.c",
      "new_id": "2aef96f20b30d2297ce9ca45e5ee2f3c4f38efa0",
      "new_mode": 33188,
      "new_path": "drivers/base/cpu.c"
    },
    {
      "type": "modify",
      "old_id": "3f9a60043a975617a3b8217f8e69b24751c13e01",
      "old_mode": 33188,
      "old_path": "include/linux/smp.h",
      "new_id": "0d5770c2e43af4441c55995ad9ae2be1529706b0",
      "new_mode": 33188,
      "new_path": "include/linux/smp.h"
    }
  ]
}
