Re: svn commit: r300671 - in head/sys/compat/linuxkpi/common: include/linux src

2016-05-27 Thread Hans Petter Selasky
On 05/26/16 23:25, Gleb Smirnoff wrote: Hi! The SCHEDULER_STOPPED() already has __predict_false() in it, so unlikely() is superfluous. You're right. Fixed in r300835 . --HPS ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/m

Re: svn commit: r300671 - in head/sys/compat/linuxkpi/common: include/linux src

2016-05-26 Thread Gleb Smirnoff
Hi! The SCHEDULER_STOPPED() already has __predict_false() in it, so unlikely() is superfluous. On Wed, May 25, 2016 at 09:04:06AM +, Hans Petter Selasky wrote: H> Author: hselasky H> Date: Wed May 25 09:04:06 2016 H> New Revision: 300671 H> URL: https://svnweb.freebsd.org/changeset/base/3

svn commit: r300671 - in head/sys/compat/linuxkpi/common: include/linux src

2016-05-25 Thread Hans Petter Selasky
Author: hselasky Date: Wed May 25 09:04:06 2016 New Revision: 300671 URL: https://svnweb.freebsd.org/changeset/base/300671 Log: Add checks for SCHEDULER_STOPPED() so that code using the LinuxKPI can run after a panic(). This for example allows a LinuxKPI based graphics stack to receive print