From: Pavel Machek <pavel@ucw.cz>
To: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Cc: Dave Jones <davej@redhat.com>, Andrew Morton <akpm@osdl.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Remove preempt_disable from powernow-k8
Date: Mon, 11 Jul 2005 19:09:22 +0200 [thread overview]
Message-ID: <20050711170922.GA2502@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.61.0507101600560.16055@montezuma.fsmlabs.com>
Hi!
> >From reading the code, my understanding is that powernow-k8 uses
> preempt_disable to ensure that driver->target doesn't migrate across cpus
> whilst it's accessing per processor registers, however set_cpus_allowed
> will provide this for us. Additionally, remove schedule() calls from
> set_cpus_allowed as set_cpus_allowed ensures that you're executing on the
> target processor on return.
Please Cc: amd people; there should be pointer at begining of
p*n*-k8.c.
Pavel
--
teflon -- maybe it is a trademark, but it should not be.
prev parent reply other threads:[~2005-07-11 17:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-10 22:13 [PATCH] Remove preempt_disable from powernow-k8 Zwane Mwaikambo
2005-07-11 17:09 ` Pavel Machek [this message]
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=20050711170922.GA2502@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@osdl.org \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zwane@arm.linux.org.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).