[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140613131047.6578fdf7@gandalf.local.home>
Date: Fri, 13 Jun 2014 13:10:47 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [patch V4 08/10] rtmutex: Confine deadlock logic to futex
On Wed, 11 Jun 2014 18:44:08 -0000
Thomas Gleixner <tglx@...utronix.de> wrote:
> +/*
> + * Futex variant with full deadlock detection.
> + */
> +int __rt_mutex_timed_lock(struct rt_mutex *lock,
> + struct hrtimer_sleeper *timeout)
I hate underscores. Although it's commented, it's still rather awkward.
What about calling it rt_mutex_timed_futex_lock() or something else
with futex in its name?
Rest looks good.
Reviewed-by: Steven Rostedt <rostedt@...dmis.org>
-- Steve
> +{
> + might_sleep();
> +
> + return rt_mutex_timed_fastlock(lock, TASK_INTERRUPTIBLE, timeout, 1,
> + rt_mutex_slowlock);
> +}
> +
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists