)]}'
{
  "commit": "034260d6779087431a8b2f67589c68b919299e5c",
  "tree": "9d9f1def96651ae098c87687a640079ddd2aafd4",
  "parents": [
    "d745866e4d8c0675bab90868b5e4a8fcd053eff2"
  ],
  "author": {
    "name": "Kevin Cernekee",
    "email": "cernekee@gmail.com",
    "time": "Thu Jun 03 22:11:25 2010 -0700"
  },
  "committer": {
    "name": "Ralf Baechle",
    "email": "ralf@linux-mips.org",
    "time": "Thu Aug 05 13:25:59 2010 +0100"
  },
  "message": "printk: fix delayed messages from CPU hotplug events\n\nWhen a secondary CPU is being brought up, it is not uncommon for\nprintk() to be invoked when cpu_online(smp_processor_id()) \u003d\u003d 0.  The\ncase that I witnessed personally was on MIPS:\n\nhttp://lkml.org/lkml/2010/5/30/4\n\nIf (can_use_console() \u003d\u003d 0), printk() will spool its output to log_buf\nand it will be visible in \"dmesg\", but that output will NOT be echoed to\nthe console until somebody calls release_console_sem() from a CPU that\nis online.  Therefore, the boot time messages from the new CPU can get\nstuck in \"limbo\" for a long time, and might suddenly appear on the\nscreen when a completely unrelated event (e.g. \"eth0: link is down\")\noccurs.\n\nThis patch modifies the console code so that any pending messages are\nautomatically flushed out to the console whenever a CPU hotplug\noperation completes successfully or aborts.\n\nThe issue was seen on 2.6.34.\n\nOriginal patch by Kevin Cernekee with cleanups by akpm and additional fixes\nby Santosh Shilimkar.  This patch superseeds\nhttps://patchwork.linux-mips.org/patch/1357/.\n\nSigned-off-by: Kevin Cernekee \u003ccernekee@gmail.com\u003e\nTo: \u003cmingo@elte.hu\u003e\nTo: \u003cakpm@linux-foundation.org\u003e\nTo: \u003csimon.kagstrom@netinsight.net\u003e\nTo: \u003cDavid.Woodhouse@intel.com\u003e\nTo: \u003clethal@linux-sh.org\u003e\nCc: \u003clinux-kernel@vger.kernel.org\u003e\nCc: \u003clinux-mips@linux-mips.org\u003e\nReviewed-by: Paul Mundt \u003clethal@linux-sh.org\u003e\nSigned-off-by: Kevin Cernekee \u003ccernekee@gmail.com\u003e\nPatchwork: https://patchwork.linux-mips.org/patch/1534/\nLKML-Reference: \u003cede63b5a20af951c755736f035d1e787772d7c28@localhost\u003e\nLKML-Reference: \u003cEAF47CD23C76F840A9E7FCE10091EFAB02C5DB6D1F@dbde02.ent.ti.com\u003e\nSigned-off-by: Ralf Baechle \u003cralf@linux-mips.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "444b770c95959261a491b8a673ff42e29a181592",
      "old_mode": 33188,
      "old_path": "kernel/printk.c",
      "new_id": "4ab0164bcf84bc9660a5802c6355817b5d015c2e",
      "new_mode": 33188,
      "new_path": "kernel/printk.c"
    }
  ]
}
