Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754605AbbB0Q5W (ORCPT ); Fri, 27 Feb 2015 11:57:22 -0500 Received: from www.linutronix.de ([62.245.132.108]:54017 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752394AbbB0Q5U (ORCPT ); Fri, 27 Feb 2015 11:57:20 -0500 From: Sebastian Andrzej Siewior To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra , Ingo Molnar , Maarten Lankhorst Subject: rt_mutex based ww_mutex implementation Date: Fri, 27 Feb 2015 17:57:06 +0100 Message-Id: <1425056229-22326-1-git-send-email-bigeasy@linutronix.de> X-Mailer: git-send-email 2.1.4 X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 675 Lines: 16 On -RT we use struct rt_mutex instead of struct mutex for a regular "mutex". And since people use GPUs there, too we needed a port of ww_mutex based rtmutex. I snipped the implementaton out of -RT tried to fit on mainline and not breaking too much. It doesn't look that bad now :) #1 is here to keep the changes in #2 a little smaller. Not sure if #3 makes sense without #2 but it looks like this has been forgotten. Sebastian -- 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/