qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Glauber Costa" <glommer@gmail.com>
To: Paul Brook <paul@codesourcery.com>
Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org,
	Glauber Costa <gcosta@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 0/6] Simplify cpu_exec - spin 3
Date: Wed, 28 May 2008 11:44:23 -0300	[thread overview]
Message-ID: <5d6222a80805280744l54f4e2c7lb9b1ea77a844eab3@mail.gmail.com> (raw)
In-Reply-To: <200805281525.11789.paul@codesourcery.com>

On Wed, May 28, 2008 at 11:25 AM, Paul Brook <paul@codesourcery.com> wrote:
> On Wednesday 28 May 2008, Glauber Costa wrote:
>> Hi guys,
>>
>> here's a new spin of the patches I sent yesterday. It basically merges the
>> comments I received, and adapts to the current state of the svn tree.
>> Also, as Fabrice said multiple times inlining would be better, I'm taking
>> a new approach, and instead of defining functions, I'm defining empty
>> macros (for the general case), and archictectures that need it can then
>> override. It results in substantially less code.
>
> I'm not so sure this is a good idea. IMHO using macros to implement functions
> is ugly. That's what inline functions are for :-)
>
> Providing a default implementation is also a fairly suspect idea. When adding
> a new target I like that we generate an error error when I forget to populate
> all of the target specific routines. The same applies when making changes to
> generic code, you're forced to go through every target and update them.

ok. If all the rest is fine, I can then switch back to the old model
and resend it.

> Paul
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Glauber Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."

      reply	other threads:[~2008-05-28 14:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-28 14:01 [Qemu-devel] [PATCH 0/6] Simplify cpu_exec - spin 3 Glauber Costa
2008-05-28 14:01 ` [Qemu-devel] [PATCH 1/6] remove REGWPTR Glauber Costa
2008-05-28 14:01   ` [Qemu-devel] [PATCH 2/6] simplify cpu_exec Glauber Costa
2008-05-28 14:01     ` [Qemu-devel] [PATCH 3/6] Push common interrupt variables to cpu-defs.h Glauber Costa
2008-05-28 14:01       ` [Qemu-devel] [PATCH 4/6] use halted attribute for i386 too Glauber Costa
2008-05-28 14:01         ` [Qemu-devel] [PATCH 5/6] simply cpu_exec further Glauber Costa
2008-05-28 14:01           ` [Qemu-devel] [PATCH 6/6] cpu-exec-dump Glauber Costa
2008-05-28 18:03           ` [Qemu-devel] [PATCH 5/6] simply cpu_exec further Blue Swirl
2008-05-28 14:25 ` [Qemu-devel] [PATCH 0/6] Simplify cpu_exec - spin 3 Paul Brook
2008-05-28 14:44   ` Glauber Costa [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=5d6222a80805280744l54f4e2c7lb9b1ea77a844eab3@mail.gmail.com \
    --to=glommer@gmail.com \
    --cc=gcosta@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    /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).