--- - branch: MAIN date: Sun Apr 9 08:17:36 UTC 2023 files: - new: '1.184' old: '1.183' path: src/sys/kern/kern_lock.c pathrev: src/sys/kern/kern_lock.c@1.184 type: modified id: 20230409T081736Z.85b2703a613261a41e48c3da232efc6ed781de0c log: | ASSERT_SLEEPABLE(9): Micro-optimize this a little bit. This convinces gcc to do less -- make a smaller stack frame, compute fewer conditional moves in favour of predicted-not-taken branches -- in the fast path where we are sleepable as the caller expects. Wasn't able to convince it to do the ncsw loop with a predicted-not-taken branch, but let's leave the __predict_false in there anyway because it's still a good prediction. module: src subject: 'CVS commit: src/sys/kern' unixtime: '1681028256' user: riastradh