xen: sched_null: check for pending tasklet work a bit earlier
authorDario Faggioli <dario.faggioli@citrix.com>
Wed, 26 Jul 2017 14:55:27 +0000 (15:55 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Wed, 26 Jul 2017 14:55:27 +0000 (15:55 +0100)
commit1061335473fd2199218160920f9bef2609e36b92
tree5dd42615dd34a3b4f74443202e3e8457266b1d95
parentcf3dd5afadfd88dbb6e891a2a29ccfda6788b339
xen: sched_null: check for pending tasklet work a bit earlier

Whether or not there's pending tasklet work to do, it's
something we know from the tasklet_work_scheduled parameter.

Deal with that as soon as possible, like all other schedulers
do.

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/common/sched_null.c