)]}'
{
  "commit": "1b614fb9a00e97b1eab54d4e442d405229c059dd",
  "tree": "3260cee5b11a106e7f4e630171627c6e3e528a0f",
  "parents": [
    "d2daeabf62a5fb205d413c35cf604021db17536b"
  ],
  "author": {
    "name": "Anton Vorontsov",
    "email": "avorontsov@ru.mvista.com",
    "time": "Wed Jul 08 20:09:44 2009 -0700"
  },
  "committer": {
    "name": "David S. Miller",
    "email": "davem@davemloft.net",
    "time": "Wed Jul 08 20:09:44 2009 -0700"
  },
  "message": "netpoll: Fix carrier detection for drivers that are using phylib\n\nUsing early netconsole and gianfar driver this error pops up:\n\n  netconsole: timeout waiting for carrier\n\nIt appears that net/core/netpoll.c:netpoll_setup() is using\ncond_resched() in a loop waiting for a carrier.\n\nThe thing is that cond_resched() is a no-op when system_state !\u003d\nSYSTEM_RUNNING, and so drivers/net/phy/phy.c\u0027s state_queue is never\nscheduled, therefore link detection doesn\u0027t work.\n\nI belive that the main problem is in cond_resched()[1], but despite\nhow the cond_resched() story ends, it might be a good idea to call\nmsleep(1) instead of cond_resched(), as suggested by Andrew Morton.\n\n[1] http://lkml.org/lkml/2009/7/7/463\n\nSigned-off-by: Anton Vorontsov \u003cavorontsov@ru.mvista.com\u003e\nSigned-off-by: David S. Miller \u003cdavem@davemloft.net\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9675f312830dd762bcd530eee90569de5a89b320",
      "old_mode": 33188,
      "old_path": "net/core/netpoll.c",
      "new_id": "df30feb2fc725b047ef744273e7c506714bbac61",
      "new_mode": 33188,
      "new_path": "net/core/netpoll.c"
    }
  ]
}
