[PATCH 3/3] drm/xe: handle pinned memory in PM notifier
Thomas Hellström
thomas.hellstrom at linux.intel.com
Wed Apr 16 12:19:17 UTC 2025
On Tue, 2025-04-15 at 11:27 +0100, Matthew Auld wrote:
> > > @@ -1120,13 +1192,16 @@ int xe_bo_evict_pinned(struct xe_bo *bo)
> > > if (bo->flags & XE_BO_FLAG_PINNED_NORESTORE)
> > > goto out_unlock_bo
> >
> > Should we drop the pinning of the backup object at this point,
> > thinking
> > that on memory pressure we might want to shrink it. Or perhaps
> > reclaim
> > is already turned off at this point?
>
> Yeah, __GFP_IO | __GFP_FS are both restricted here, so I guess we
> can't
> really shrink stuff at this point?
Indeed we can't shrink without those.
/Thomas
More information about the Intel-xe
mailing list