From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maarten Lankhorst Subject: [PATCH 0/6] drm/ttm: lru lock atomicity removal Date: Fri, 30 Nov 2012 13:11:00 +0100 Message-ID: <50B8A254.904@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by gabe.freedesktop.org (Postfix) with ESMTP id C4D69E5F98 for ; Fri, 30 Nov 2012 04:11:02 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Thomas Hellstrom Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org With all the previous patches there shouldn't be anything lying on the reservations being atomic with removal of the bo's from the lru lists any more. As such we can finally fix the locking primitives and make it act like normal mutex calls. Patch 1 is the actual removal of the guarantee in ttm_bo_reserve patch 2 is a cleanup of ttm_eu_backoff_reservation from removing that guarantee patch 3...6 are introducing ttm_bo_reserve_slowpath. After this series, this should directly map to my proposed extensions to mutex.