Re: [PATCH 1/3] rcu: Use static initializer for krc.lock

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

 



On Thu, 16 Apr 2020 14:59:34 -0400
Joel Fernandes <joel@xxxxxxxxxxxxxxxxx> wrote:

> But, then will it be safe for kfree_rcu() callers from hard IRQ context to
> call this in PREEMPT_RT? That could would just break then as you cannot sleep
> in hard IRQ context even on PREEMPT_RT.

But where in PREEMPT_RT would it be called in hard IRQ context?

Note, most interrupt handlers in PREEMPT_RT are turned into threads (except
for a very few, which shouldn't be calling kfree_rcu()).

-- Steve



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux