From: Darren Hart Date: Thu, 12 Mar 2009 07:55:46 +0000 (-0700) Subject: futex: additional (get|put)_futex_key() fixes X-Git-Tag: v2.6.30-rc1~629^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de87fcc124a5d4a171aa32707b3265608ebda6e7;p=pandora-kernel.git futex: additional (get|put)_futex_key() fixes Impact: fix races futex_requeue and futex_lock_pi still had some bad (get|put)_futex_key() usage. This patch adds the missing put_futex_keys() and corrects a goto in futex_lock_pi() to avoid a double get. Build and boot tested on a 4 way Intel x86_64 workstation. Passes basic pthread_mutex and PI tests out of ltp/testcases/realtime. Signed-off-by: Darren Hart Acked-by: Peter Zijlstra Cc: Rusty Russell LKML-Reference: <20090312075545.9856.75152.stgit@Aeon> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed