LWN.net Logo

locking: name space cleanup and -rt spinlock annotation

From:  Thomas Gleixner <tglx@linutronix.de>
To:  LKML <linux-kernel@vger.kernel.org>
Subject:  [patch 00/23] locking: name space cleanup and -rt spinlock annotation
Date:  Sun, 06 Dec 2009 18:01:47 -0000
Cc:  Linus Torvalds <torvalds@linux-foundation.org>, Andrew Morton <akpm@linux-foundation.org>, Ingo Molnar <mingo@elte.hu>, Peter Zijlstra <peterz@infradead.org>, Linux-Arch <linux-arch@vger.kernel.org>
Archive-link:  Article, Thread

PREEMPT_RT needs to annotate spinlocks which cannot be converted to
sleeping locks.

The best name raw_spinlock is already taken by the low level
architecture implementations. We tried to come up with a good name for
those locks but none of the naming suggestions was really great.

Linus finally suggested to cleanup the name space and rename the low
level locks in the architecture code to arch_spinlock.

The following patch series contains:
    - the name space cleanup
    - the new raw_spinlock implementation
    - annotation of the most important locks

A git version of the series can be found here:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip rt/locking

Thanks,

	tglx




Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds