[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f488382f0810310610n20a13163pb0936a3104e64a5c@mail.gmail.com>
Date: Fri, 31 Oct 2008 06:10:13 -0700
From: "Steven Noonan" <steven@...inklabs.net>
To: "Dimitri Sivanich" <sivanich@....com>
Cc: "Ingo Molnar" <mingo@...e.hu>, linux-kernel@...r.kernel.org,
"H. Peter Anvin" <hpa@...or.com>,
"Thomas Gleixner" <tglx@...utronix.de>,
"Andrew Morton" <akpm@...ux-foundation.org>
Subject: Re: [PATCH] small optimization to update_curr_rt
On Fri, Oct 31, 2008 at 6:03 AM, Dimitri Sivanich <sivanich@....com> wrote:
> A very minor improvement, but might it be better to check sched_rt_runtime(rt_rq)
> before taking the rt_runtime_lock?
Is it possible that the attribute sched_rt_runtime is checking could
change by the time it acquires the lock? If not, should be fine, I
think.
- Steven
--
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