On Mon, 2008-08-04 at 19:39 +0100, Hugh Dickins wrote:
Sounds good to me.
I'll just remove it then; pages pulled from the GTT are unlikely to be
used soon.
Forever? The only reason an object would get unpinned would be on
eviction from the GTT, and objects will only be evicted if we fill the
aperture with other stuff. When we add a register_shrinker callback,
we'll also unpin pages at that point.
A busy system should have the GTT entirely full, and that will be
somewhere between 256MB and 1GB.
If the idea of 1GB of pinned memory doesn't scare you, then I don't see
a problem ;-)
--=20
keith.packard@intel.com