Moving it before the pte_pages array puts in into the same
cache-line as the spin-lock and the bitmap array pointer.
This should safe a cache-miss.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
/* address allocation bitmap */
unsigned long *bitmap;
+ unsigned long offset;
/*
* Array of PTE pages for the aperture. In this array we save all the
* just calculate its address in constant time.
*/
u64 *pte_pages[64];
-
- unsigned long offset;
};
/*