)]}'
{
  "commit": "3075d9da0b4ccc88959db30de80ebd11d2dde175",
  "tree": "7dbdcd9b5eae671864eac060ee3138a8c862c0ea",
  "parents": [
    "7e341fa1f8ed25385e2321d7e5a49ce6aea2d702"
  ],
  "author": {
    "name": "Chris Wright",
    "email": "chrisw@sous-sol.org",
    "time": "Tue Oct 16 23:27:18 2007 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@woody.linux-foundation.org",
    "time": "Wed Oct 17 08:42:53 2007 -0700"
  },
  "message": "Use ERESTART_RESTARTBLOCK if poll() is interrupted by a signal\n\nLomesh reported poll returning EINTR during suspend/resume cycle.  This is\ncaused by the STOP/CONT cycle that the freezer uses, generating a pending\nsignal for what in effect is an ignored signal.  In general poll is a\nlittle eager in returning EINTR, when it could try not bother userspace and\nsimply restart the syscall.  Both select and ppoll do use ERESTARTNOHAND to\nrestart the syscall.  Oleg points out that simply using ERESTARTNOHAND will\ncause poll to restart with original timeout value.  which could ultimately\nlead to process never returning to userspace.  Instead use\nERESTART_RESTARTBLOCK, and restart poll with updated timeout value.\nInspired by Manfred\u0027s use ERESTARTNOHAND in poll patch.\n\n[bunk@kernel.org: do_restart_poll() can become static]\nCc: Manfred Spraul \u003cmanfred@colorfullife.com\u003e\nCc: Oleg Nesterov \u003coleg@tv-sign.ru\u003e\nCc: Roland McGrath \u003croland@redhat.com\u003e\nCc: \"Agarwal, Lomesh\" \u003clomesh.agarwal@intel.com\u003e\nSigned-off-by: Chris Wright \u003cchrisw@sous-sol.org\u003e\nSigned-off-by: Adrian Bunk \u003cbunk@kernel.org\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": "e2fd58f8f1db90c8377e0caf450476fe4125b837",
      "old_mode": 33188,
      "old_path": "fs/select.c",
      "new_id": "7dede89658f535964e8808682d6d7fe784281d4e",
      "new_mode": 33188,
      "new_path": "fs/select.c"
    }
  ]
}
