* [ANNOUNCE] v5.10-rc1-rt1
@ 2020-10-28 20:58 Sebastian Andrzej Siewior
2020-10-29 4:37 ` Mike Galbraith
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2020-10-28 20:58 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: LKML, linux-rt-users, Steven Rostedt
Dear RT folks!
I'm pleased to announce the v5.10-rc1-rt1 patch set.
Changes since v5.9.1-rt20
- Rebase to v5.10-rc1.
Known issues
- It has been pointed out that due to changes to the printk code the
internal buffer representation changed. This is only an issue if tools
like `crash' are used to extract the printk buffer from a kernel memory
image.
You can get this release via the git tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git v5.10-rc1-rt1
The RT patch against v5.10-rc1 can be found here:
https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patch-5.10-rc1-rt1.patch.xz
The split quilt queue is available at:
https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10-rc1-rt1.tar.xz
Sebastian
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ANNOUNCE] v5.10-rc1-rt1
2020-10-28 20:58 [ANNOUNCE] v5.10-rc1-rt1 Sebastian Andrzej Siewior
@ 2020-10-29 4:37 ` Mike Galbraith
0 siblings, 0 replies; 2+ messages in thread
From: Mike Galbraith @ 2020-10-29 4:37 UTC (permalink / raw)
To: Sebastian Andrzej Siewior, Thomas Gleixner; +Cc: linux-rt-users
"blk-mq: Use llist_head for blk_cpu_done" needs a minor adjustment, as
is it induces much grumbling...
BUG: using smp_processor_id() in preemptible [00000000] code: usb-storage/479
@@ -657,6 +621,7 @@ static inline bool blk_mq_complete_need_
bool blk_mq_complete_request_remote(struct request *rq)
{
+ struct llist_head *cpu_list;
WRITE_ONCE(rq->state, MQ_RQ_COMPLETE);
/*
@@ -667,14 +632,21 @@ bool blk_mq_complete_request_remote(stru
return false;
if (blk_mq_complete_need_ipi(rq)) {
- rq->csd.func = __blk_mq_complete_request_remote;
- rq->csd.info = rq;
- rq->csd.flags = 0;
- smp_call_function_single_async(rq->mq_ctx->cpu, &rq->csd);
+ unsigned int cpu;
+
+ cpu = rq->mq_ctx->cpu;
+ cpu_list = &per_cpu(blk_cpu_done, cpu);
+ if (llist_add(&rq->ipi_list, cpu_list)) {
+ rq->csd.func = __blk_mq_complete_request_remote;
+ rq->csd.flags = 0;
+ smp_call_function_single_async(cpu, &rq->csd);
+ }
} else {
if (rq->q->nr_hw_queues > 1)
return false;
- blk_mq_trigger_softirq(rq);
+ cpu_list = this_cpu_ptr(&blk_cpu_done); <== there
+ if (llist_add(&rq->ipi_list, cpu_list))
+ raise_softirq(BLOCK_SOFTIRQ);
}
return true;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-29 7:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 20:58 [ANNOUNCE] v5.10-rc1-rt1 Sebastian Andrzej Siewior
2020-10-29 4:37 ` Mike Galbraith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).