public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/5] seqlock consolidation
@ 2012-03-15 11:44 Thomas Gleixner
  2012-03-15 11:44 ` [patch 1/5] seqlock: Remove unused functions Thomas Gleixner
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: Thomas Gleixner @ 2012-03-15 11:44 UTC (permalink / raw)
  To: LKML; +Cc: Al Viro, Linus Torvalds, Ingo Molnar, Peter Zijlstra, Nick Piggin

This series consists of two parts:

     1) Consolidate seqlocks and seqcount instead of having two
     	implementations for the counter functionality

     2) Extend seqlocks API and convert the open coded seqlocks
     	in fs_struct and dentry to that.

The main motivation of this change is to get rid of open coded
seqlocks as they are difficult to handle in the real time patch,
because the retry loops can cause live locks there, when the writer
side gets preempted. RT needs to take the lock so the writer gets
boosted and out of the way. With open coded seqlocks consisting of a
spinlock and a seqcount we have no idea which lock to acquire.

Aside of that replacing open coded constructs with proper functions is
a worthwhile cleanup by itself.

Thanks,

	tglx


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-03-15 22:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 11:44 [patch 0/5] seqlock consolidation Thomas Gleixner
2012-03-15 11:44 ` [patch 1/5] seqlock: Remove unused functions Thomas Gleixner
2012-03-15 16:29   ` Linus Torvalds
2012-03-15 17:39     ` Al Viro
2012-03-15 17:53       ` Thomas Gleixner
2012-03-15 11:44 ` [patch 3/5] seqlock: Provide seq_spin_* functions Thomas Gleixner
2012-03-15 11:44 ` [patch 2/5] seqlock: Use seqcount for seqlock Thomas Gleixner
2012-03-15 11:44 ` [patch 4/5] fs: fs_struct use seqlock Thomas Gleixner
2012-03-15 11:44 ` [patch 5/5] fs: Use seqlock in struct dentry Thomas Gleixner
2012-03-15 12:21 ` [patch 0/5] seqlock consolidation Al Viro
2012-03-15 12:28   ` Thomas Gleixner
2012-03-15 17:43     ` Al Viro
2012-03-15 17:55       ` Thomas Gleixner
2012-03-15 18:39         ` Al Viro
2012-03-15 19:17           ` Thomas Gleixner
2012-03-15 20:42             ` Al Viro
2012-03-15 22:08               ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox