From: Yong Zhang <yong.zhang0@gmail.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
"Ingo Molnar" <mingo@elte.hu>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Peter Zijlstra" <a.p.zijlstra@chello.nl>,
"Mike Galbraith" <mgalbraith@suse.de>,
"Luis Claudio R. Gon�alves" <lgoncalv@redhat.com>,
"Matthew Hank Sabins" <msabins@linux.vnet.ibm.com>,
"Gregory Haskins" <gregory.haskins@gmail.com>,
"Andrew Morton" <akpm@linux-foundation.org>
Subject: Re: [PATCH][GIT PULL] sched/cpupri: Remove the vec->lock
Date: Fri, 5 Aug 2011 16:20:08 +0800 [thread overview]
Message-ID: <20110805082008.GA6628@zhy> (raw)
In-Reply-To: <1312317372.18583.101.camel@gandalf.stny.rr.com>
On Tue, Aug 02, 2011 at 04:36:12PM -0400, Steven Rostedt wrote:
> diff --git a/kernel/sched_cpupri.h b/kernel/sched_cpupri.h
> index 9fc7d38..6b4cd17 100644
> --- a/kernel/sched_cpupri.h
> +++ b/kernel/sched_cpupri.h
> @@ -12,9 +12,8 @@
> /* values 2-101 are RT priorities 0-99 */
>
> struct cpupri_vec {
> - raw_spinlock_t lock;
> - int count;
> - cpumask_var_t mask;
> + atomic_t count;
> + cpumask_var_t mask;
> };
>
> struct cpupri {
So cpupri->pri_active and macro CPUPRI_NR_PRI_WORDS is not needed any more?
Thanks,
Yong
--
Only stand for myself
next prev parent reply other threads:[~2011-08-05 8:20 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-02 20:36 [PATCH][GIT PULL] sched/cpupri: Remove the vec->lock Steven Rostedt
2011-08-03 14:18 ` Hillf Danton
2011-08-03 14:49 ` Steven Rostedt
2011-08-05 13:16 ` Hillf Danton
2011-08-03 14:29 ` Peter Zijlstra
2011-08-04 20:32 ` [PATCH] cpupri: Fix memory barriers for vec updates to always be in order Steven Rostedt
2011-08-05 12:27 ` [PATCH v2] " Steven Rostedt
2011-08-14 16:12 ` [tip:sched/core] sched/cpupri: " tip-bot for Steven Rostedt
2011-08-05 8:20 ` Yong Zhang [this message]
2011-08-05 12:30 ` [PATCH][GIT PULL] sched/cpupri: Remove the vec->lock Steven Rostedt
2011-08-05 14:38 ` [PATCH] sched/cpupri: Remove cpupri->pri_active Yong Zhang
2011-08-05 15:26 ` Steven Rostedt
2011-08-06 0:10 ` [PATCH V2] " Yong Zhang
2011-08-14 16:13 ` [tip:sched/core] " tip-bot for Yong Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110805082008.GA6628@zhy \
--to=yong.zhang0@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=gregory.haskins@gmail.com \
--cc=lgoncalv@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgalbraith@suse.de \
--cc=mingo@elte.hu \
--cc=msabins@linux.vnet.ibm.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.