Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932413AbWACQqG (ORCPT ); Tue, 3 Jan 2006 11:46:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932411AbWACQqF (ORCPT ); Tue, 3 Jan 2006 11:46:05 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:46984 "EHLO mx3.mail.elte.hu") by vger.kernel.org with ESMTP id S932413AbWACQqE (ORCPT ); Tue, 3 Jan 2006 11:46:04 -0500 Date: Tue, 3 Jan 2006 17:45:47 +0100 From: Ingo Molnar To: lkml Cc: Linus Torvalds , Andrew Morton , Arjan van de Ven , Nicolas Pitre , Jes Sorensen , Al Viro , Oleg Nesterov , David Howells , Alan Cox , Christoph Hellwig , Andi Kleen , Russell King Subject: [patch 00/19] mutex subsystem, -V12 Message-ID: <20060103164547.GA25802@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=AWL autolearn=no SpamAssassin version=3.0.3 0.0 AWL AWL: From: address is in the auto white-list X-ELTE-VirusStatus: clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1823 Lines: 57 this is version -V12 of the generic mutex subsystem, against v2.6.15. It consists of the following 19 patches: add-atomic-xchg.patch add-function-typecheck.patch mutex-generic-asm-implementations.patch mutex-asm-mutex.h-i386.patch mutex-asm-mutex.h-x86_64.patch mutex-asm-mutex.h-arm.patch mutex-arch-mutex-h.patch mutex-core.patch mutex-docs.patch mutex-debug.patch mutex-debug-more.patch sem2mutex-xfs.patch sem2mutex-vfs-i-sem.patch sem2mutex-vfs-i-sem-more.patch sem2mutex-simple-ones.patch sem2completion-sx8.patch sem2completion-cpu5wdt.patch sem2completion-ide-gendev.patch sem2completion-loop.patch the patches should work fine on every Linux architecture. They can also be downloaded from: http://redhat.com/~mingo/generic-mutex-subsystem/ Changes since -V11: 2 files changed, 50 insertions(+), 138 deletions(-) - removed asm/semaphore.h from sx8.c (noticed by Nick Piggin) - simplified the mutex locking slowpath, and merged the interruptible and non-interruptible variants. This also fixes a small queueing-fairness bug noticed by David Howells: tasks woken up by some _other_ waitqueue might jump the wait-queue in the previous code, and create unfairness. In this queueing variant we keep the task queued all the time - if it retries it simply stays at the head of the queue. This should also be more efficient. mutex.o got 10% smaller as well, as the result of the unification of logic. - cleanup: removed smaller inlined-once functions and merged them into their usage sites. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/