Thread (20 messages) 20 messages, 4 authors, 2022-12-08

Re: [PATCH v2 4/5] blk-iocost: fix sleeping in atomic context warnning

From: Yu Kuai <hidden>
Date: 2022-11-23 10:38:48
Also in: cgroups, lkml

Hi, Tejun

在 2022/11/23 8:42, Tejun Heo 写道:
On Tue, Nov 22, 2022 at 05:14:29PM -0700, Jens Axboe wrote:
quoted
quoted
quoted
Then match_strdup() and kfree() in match_NUMBER() can be replaced with
get_buffer() and put_buffer().
Sorry about the late reply. Yeah, something like this.
Thanks for the feedback. I'll remove patch 4 from this seies and send a
new patch separately soon.

Thanks,
Kuai
quoted
Doesn't local_irq_disable() imply preemption disable as well?
Right, I was thinking about spin_lock_irq() which doesn't imply disabling
preemption in PREEMPT_RT. local_irq_disable() is actual irq disable even on
RT. It should be fine on its own.

Thanks.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help