[PATCH 00/13] shadow page table support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 04.08.2016 um 08:05 schrieb zhoucm1:
>
>
> On 2016å¹´08æ??03æ?¥ 21:39, Christian König wrote:
>> Doubling all the page table updates clearly doesn't sound like a good 
>> idea to me.
> Could you tell me why it isn't a good idea?
> I though the overhead is the least, and we don't need to sync between 
> bo and its shadow, aren't we?

Yeah, but you also double the CPU overhead generating the update 
commands. And for large updates you need to backup the whole page table 
BO anyway, so the copy overhead between system memory and VRAM shouldn't 
matter so much.

I would rather go into the direction that we switch shadow and real BO 
like we discussed previously.

This way you would made all updates on the shadow first and then copy 
all changes page tables to their VRAM location after scheduling all the 
updates.

Regards,
Christian.

>
> Regards,
> David Zhou




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux