Re: [rfc patch] drivers/block/zram: Replace bit spinlocks with rtmutex for -rt

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

 



* Mike Galbraith | 2016-03-31 04:08:28 [+0200]:

>(fixed the missed bit spinlock whackage you pointed out)
thanks.

>drivers/block/zram: Replace bit spinlocks with rtmutex for -rt
>
>They're nondeterministic, and lead to ___might_sleep() splats in -rt.
>OTOH, they're a lot less wasteful than an rtmutex per page.
Applied.
Although I'm disapointed about Sergey's argument against the spinlock in
general due to a few bytes used by lockdep which can be disabled. Not to
mention the usefull debug facility lockdep provides if one decides to
use.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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