On 8 September 2017 at 19:16, Chris Wilson <[email protected]> wrote:
> If we know that we will completely fill a pagetable (i.e. we are
> inserting a complete set of 512 pages), we can skip prefilling that PT
> with scratch entries. If we have to abort the insertion prior to writing
> the real entries, we will teardown the pagetable and remove it from the
> page directory (so that we will restart the allocation next time).
>
> We could do similar tricks for the PD and PDP, but the likelihood of a
> single insertion covering the entire 512 entries diminishes, as do the
> cycle savings. The saving are even greater (relatively) when we are
> preallocating page tables for huge pages, as then we never need to fill
> the page table.
>
> Signed-off-by: Chris Wilson <[email protected]>
> Cc: Matthew Auld <[email protected]>
> Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to