)]}'
{
  "commit": "d27d4e6af20a9e99d6f39ee18d184ea58a2b019a",
  "tree": "6a75f0a91671a922d4a0b09b905ff167e3e33618",
  "parents": [
    "be03dbd4c797b7408067e7dd031e2c886fa72a41"
  ],
  "author": {
    "name": "Andy Ross",
    "email": "andrew.j.ross@intel.com",
    "time": "Tue Feb 05 15:36:01 2019 -0800"
  },
  "committer": {
    "name": "Anas Nashif",
    "email": "anas.nashif@intel.com",
    "time": "Fri Feb 08 14:49:39 2019 -0500"
  },
  "message": "kernel/sched: Remove remaining irq_lock use\n\nThe k_sleep() locking was actually to protect the _current state from\npreemption before the context switch, so document that and replace\nwith a spinlock.  Should probably unify this with the rather cleaner\nlogic in pend_curr(), but right now \"sleeping\" and \"pended\" are\nneedlessly distinct states.\n\nAnd we can remove the locking entirely from k_wakeup().  There\u0027s no\nreason for any of that to need to be synchronized.  Even if we\u0027re\nracing with other thread modifiations, the state on exit will be a\nrunnable thread without a timeout, or whatever timeout/pend state the\nother side was requesting (i.e. it\u0027s a bug, but not one solved by\nsynhronization).\n\nSigned-off-by: Andy Ross \u003candrew.j.ross@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "31ccc56ad4da766a96254975520438cccbf5caf1",
      "old_mode": 33188,
      "old_path": "kernel/sched.c",
      "new_id": "f0663c8c8508d46e0d96525d575dfe4db4f822d1",
      "new_mode": 33188,
      "new_path": "kernel/sched.c"
    }
  ]
}
