)]}'
{
  "commit": "5e34599fc8ba1e8889095bd56a71fd9802ed5a51",
  "tree": "180691e2c05ac92fd111e32e2eb1f3339c302b42",
  "parents": [
    "095761d28ae43eae7d4504d49b0b952cf02b0188"
  ],
  "author": {
    "name": "Heiko Carstens",
    "email": "heiko.carstens@de.ibm.com",
    "time": "Mon Jul 14 09:59:46 2008 +0200"
  },
  "committer": {
    "name": "Heiko Carstens",
    "email": "heiko.carstens@de.ibm.com",
    "time": "Mon Jul 14 10:02:25 2008 +0200"
  },
  "message": "[S390] sclp_tty: Fix scheduling while atomic bug.\n\nFinally fixes a possible scheduling while in atomic context bug. The driver\nused to wait on a waitqueue if no empty buffer was available. This could\nlead to a deadlock if the driver was called from non-schedulable context.\nSo fix this. The write operation may fail now. It returns the number of\ncharacters accepted. put_char will never fail, since it writes characters\nto an intermediate buffer which gets flushed as soon as it is full.\nThat means the driver now can busy wait if something is in the intermediate\nbuffer and a write_string operation follows. Seems to be an acceptable\ncompromise, since that shouldn\u0027t happen too often.\n\nCc: Peter Oberparleiter \u003cpeter.oberparleiter@de.ibm.com\u003e\nSigned-off-by: Heiko Carstens \u003cheiko.carstens@de.ibm.com\u003e\nCc: Martin Schwidefsky \u003cschwidefsky@de.ibm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bcf691af53361c0666f67265aea94d5ad3cdfd50",
      "old_mode": 33188,
      "old_path": "drivers/s390/char/sclp_tty.c",
      "new_id": "434ba04b1309529e0e0959eea440a074085a5535",
      "new_mode": 33188,
      "new_path": "drivers/s390/char/sclp_tty.c"
    }
  ]
}
