* [Qemu-devel] question about share flatviews
@ 2018-01-14 12:20 CheneyLin
2018-01-15 3:37 ` Alexey Kardashevskiy
2018-01-15 9:29 ` Paolo Bonzini
0 siblings, 2 replies; 3+ messages in thread
From: CheneyLin @ 2018-01-14 12:20 UTC (permalink / raw)
To: qemu-devel; +Cc: aik, pbonzini
Hi, Paolo,
Alexey
Alexey
Alexey
Alexey
Alexey
Alexey
Alexey
Alexey
Alexey
Alexey:
commit 967dc9b
commit 967dc9b
commit 967dc9b
commit 967dc9b Share FlatView's and dispatch trees between address spaces
commit 967dc9b.
.
I'm wondering why we have to shares flatviews between different ASes. In my opinion, arch like x86 only have two ASes(memory AS and io AS), each AS is related with only one flatview. Their ASes are definitely different.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] question about share flatviews
2018-01-14 12:20 [Qemu-devel] question about share flatviews CheneyLin
@ 2018-01-15 3:37 ` Alexey Kardashevskiy
2018-01-15 9:29 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Alexey Kardashevskiy @ 2018-01-15 3:37 UTC (permalink / raw)
To: CheneyLin, qemu-devel; +Cc: pbonzini
On 14/01/18 23:20, CheneyLin wrote:
> Hi, Paolo,
>
> Alexey
> commit 967dc9b
>
> commit 967dc9b
>
>
> commit 967dc9b
>
> commit 967dc9b Share FlatView's and dispatch trees between address spaces
>
> commit 967dc9b.
>
> .
>
> I'm wondering why we have to shares flatviews between different ASes.
Flatviews are only shared between address spaces which have the same root
MR, basically.
> In my
> opinion, arch like x86 only have two ASes(memory AS and io AS), each AS is
> related with only one flatview. Their ASes are definitely different.
Sure, and they are not shared as memory AS and IO AS have different MRs are
a root.
--
Alexey
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] question about share flatviews
2018-01-14 12:20 [Qemu-devel] question about share flatviews CheneyLin
2018-01-15 3:37 ` Alexey Kardashevskiy
@ 2018-01-15 9:29 ` Paolo Bonzini
1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2018-01-15 9:29 UTC (permalink / raw)
To: CheneyLin, qemu-devel; +Cc: aik
On 14/01/2018 13:20, CheneyLin wrote:
> I'm wondering why we have to shares flatviews between different ASes. In
> my opinion, arch like x86 only have two ASes(memory AS and io AS), each
> AS is related with only one flatview. Their ASes are definitely different.
Every PCI device has its own AddressSpace. A PCI device's is either the
same as the memory AS or the same as the empty AS, hence sharing the
FlatView can provide substantial memory usage improvements.
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-15 9:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-14 12:20 [Qemu-devel] question about share flatviews CheneyLin
2018-01-15 3:37 ` Alexey Kardashevskiy
2018-01-15 9:29 ` Paolo Bonzini
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).