Re: [PATCH] printk: kmsg_dump: remove mutex usage

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

 



On 2019-04-24 16:36:04 [+0200], John Ogness wrote:
> The kmsg dumper can be called from any context, but the dumping
> helpers were using a mutex to synchronize the iterator against
> concurrent dumps.
> 
> Rather than trying to synchronize the iterator, use a local copy
> of the iterator during the dump. Then no synchronization is
> required.
> 
> Reported-by: Scott Wood <swood@xxxxxxxxxx>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Applied.

Sebastian



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux