From: "Yu, Zhang" <yu.c.zhang@linux.intel.com>
To: Paul Durrant <Paul.Durrant@citrix.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
Andrew Cooper <Andrew.Cooper3@citrix.com>,
"JBeulich@suse.com" <JBeulich@suse.com>,
Kevin Tian <kevin.tian@intel.com>,
"zhiyuan.lv@intel.com" <zhiyuan.lv@intel.com>
Subject: Re: [PATCH] Refactor ioreq server for better performance
Date: Thu, 02 Jul 2015 20:17:54 +0800 [thread overview]
Message-ID: <55952BF2.20001@linux.intel.com> (raw)
In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD025976ACD@AMSPEX01CL02.citrite.net>
[snip]
>>
>> Thanks, Paul.
>> Well, I agree the former approach would be simpler. But I still doubt
>> if this is more reasonable. :)
>> IIUC, one of the reasons for struct domain to have a rangeset list(and
>> a spinlock - rangesets_lock), is because there are iomem_caps and
>> irq_caps for each domain. These 2 rangeset members of struct domain are
>> platform independent.
>> However, struct rb_rangeset is only supposed to be used in ioreq
>> server, which is only for x86 hvm cases. Adding a rb_rangeset list
>> member(similarly, if so, a rb_rangesets_lock is also required) in
>> struct domain maybe useless for hardware domain and for platforms other
>> than x86.
>
> Fair enough.
>
>> So, I'd like to register a new debug key, to dump the ioreq server
>> informations, just like the keys to dump iommu p2m table or the irq
>> mappings. With a new debug key, we do not need to add a spinlock for
>> rb_rangeset in struct domain, the one in ioreq server would be enough.
>> Does this sound reasonable?
>>
>
> That would be ok with me, but I'm not sure about claiming a whole debug key for this. Is there any other one that you could piggy-back on? If not, then maybe just make it part of the 'q' output.
Thanks, my new implementation uses the 'q' debug key. Will send out the
new version later. :)
Yu
>
> Paul
>
[snip]
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Xen-devel mailing list
>>>>> Xen-devel@lists.xen.org
>>>>> http://lists.xen.org/xen-devel
>>>>>
>>>>>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xen.org
>>> http://lists.xen.org/xen-devel
>>>
>>>
>
>
prev parent reply other threads:[~2015-07-02 12:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 10:29 [PATCH] Refactor ioreq server for better performance Yu Zhang
2015-06-29 12:12 ` Paul Durrant
2015-06-30 7:11 ` Yu, Zhang
2015-06-30 9:59 ` Paul Durrant
2015-07-01 9:02 ` Yu, Zhang
2015-07-01 11:52 ` Paul Durrant
2015-07-02 12:17 ` Yu, Zhang [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=55952BF2.20001@linux.intel.com \
--to=yu.c.zhang@linux.intel.com \
--cc=Andrew.Cooper3@citrix.com \
--cc=JBeulich@suse.com \
--cc=Paul.Durrant@citrix.com \
--cc=kevin.tian@intel.com \
--cc=xen-devel@lists.xenproject.org \
--cc=zhiyuan.lv@intel.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.