mbox series

[v2,0/2] Fix warnings in blktrace

Message ID 20211213123737.9147-1-wander@redhat.com
Headers show
Series Fix warnings in blktrace | expand

Message

Wander Lairson Costa Dec. 13, 2021, 12:37 p.m. UTC
These two patches fix wrong usage of lock primitives with
CONFIG_PREEMPT_RT in the blktrace code.

This version fixes a missing piece in the blktrace patch.

The patches apply to the PREEMPT_RT tree.

Wander Lairson Costa (2):
  block: Avoid sleeping function called from invalid context bug
  blktrace: switch trace spinlock to a raw spinlock

 block/blk-cgroup.c      |  4 ++--
 kernel/trace/blktrace.c | 18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

Comments

Sebastian Andrzej Siewior Dec. 15, 2021, 1:29 p.m. UTC | #1
On 2021-12-13 09:37:35 [-0300], Wander Lairson Costa wrote:
> These two patches fix wrong usage of lock primitives with
> CONFIG_PREEMPT_RT in the blktrace code.
> 
> This version fixes a missing piece in the blktrace patch.
> 
> The patches apply to the PREEMPT_RT tree.

I've seen it, need to think about it.

Sebastian