[lkml]   [2019]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch V2 0/7] fs: Substitute bit-spinlocks for PREEMPT_RT and debugging

On Fri, 2 Aug 2019, Christoph Hellwig wrote:

> did you look into killing bіt spinlocks as a public API instead?

Last time I did, there was resistance :)

But I'm happy to try again.

> The main users seems to be buffer heads, which are so bloated that
> an extra spinlock doesn't really matter anyway.
> The list_bl and rhashtable uses kinda make sense to be, but they are
> pretty nicely abstracted away anyway. The remaining users look
> pretty questionable to start with.

What about the page lock?

mm/slub.c: bit_spin_lock(PG_locked, &page->flags);


 \ /
  Last update: 2019-08-02 11:11    [W:0.261 / U:7.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site