Can a kblockd work-item be preempted?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

it might be a silly question, but anyway. I was wondering if anyone could
tell me whether a scheduled work-item on the kblockd workqueue can be
preempted by the scheduler?

So when the worker is in the middle of dispatching requests in
`__blk_mq_sched_dispatch_requests()`, can it be put to sleep by the
scheduler, so that for example an other worker on the same workqueue can
work on a hctx from a different request_queue on the same CPU?

I'd imagine so, if preemption is enabled for the kernel, but it's not
obvious to me right now.

Thanks.


best regards,
 - Benjamin



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux