From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] privcmd: MMAPBATCH: Fix error handling/reporting
Date: Thu, 21 May 2009 10:14:51 -0700 [thread overview]
Message-ID: <4A158C0B.8070100@goop.org> (raw)
In-Reply-To: <1242895899.22654.92.camel@zakaz.uk.xensource.com>
Ian Campbell wrote:
>> The noise is just for debugging; if failure is expected, then maybe we
>> can extend it to be quiet about those cases.
>>
>
> In this specific instance going directly at the mmu_udpate interface is
> probably better since the propagation of errors from the multicall
> infrastructure is tricky (well, currently non-existent). I don't think
> multicalls would buy us anything here anyhow since mmu_update is batched
> already.
>
Yeah. The generic multicall stuff is (should be) tuned for the common
case of no errors. I think this is the first instance of something
where we expect errors back. The multicall path is fairly hot, and I
suspect it's going to need some trimming when the real performance work
starts, so keeping it low-feature is a good idea.
(Though we could make use of maybe-fail to deal with vmap aliases in
pte-pinning...)
>> This breaks compiling xenfs as a module; neither flush_tlb_all or
>> arbitrary_virt_to_machine are exported, I think.
>>
>
> Rather than exporting those I think moving remap_domain_mfn_range() to
> core code (with xen_ on the front of the name) and exporting that would
> be cleaner. Thoughts?
>
Yes, seems reasonable to me. Though if its arch-neutral, drivers/xen
would be better.
J
next prev parent reply other threads:[~2009-05-21 17:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-20 14:44 [GIT] privcmd fixes --> working HVM Ian Campbell
2009-05-20 14:45 ` [PATCH] privcmd: MMAPBATCH: Fix error handling/reporting Ian Campbell
2009-05-20 19:33 ` Jeremy Fitzhardinge
2009-05-21 8:51 ` Ian Campbell
2009-05-21 9:18 ` Ian Campbell
2009-05-21 9:18 ` [PATCH] xen/privcmd: move remap_domain_mfn_range() to core xen code and export Ian Campbell
2009-05-21 9:19 ` Ian Campbell
2009-05-21 17:14 ` Jeremy Fitzhardinge [this message]
2009-05-20 21:13 ` [PATCH] privcmd: MMAPBATCH: Fix error handling/reporting Jeremy Fitzhardinge
-- strict thread matches above, loose matches on Subject: below --
2009-05-20 19:22 Boris Derzhavets
2009-05-21 8:09 Boris Derzhavets
2009-05-21 17:16 ` Jeremy Fitzhardinge
2009-05-22 18:07 Boris Derzhavets
2009-05-22 18:22 ` Pasi Kärkkäinen
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=4A158C0B.8070100@goop.org \
--to=jeremy@goop.org \
--cc=Ian.Campbell@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.