[Intel-gfx] [PATCH] drm/i915: Add module param to test the load detect code
Chris Wilson
chris at chris-wilson.co.uk
Wed Mar 4 00:56:45 PST 2015
On Tue, Mar 03, 2015 at 04:27:47PM -0800, Jesse Barnes wrote:
> My "rant du jour" still is. mlock() is a good solution for some things,
> but for the simple task of testing kernel swap out code, just running
> that code is the most straightforward thing to do, rather than trying to
> contort into it from userspace.
Once upon a time, there was a minor request for MADV_POPULATE and
MADV_INVALIDATE (basically wrappers around get_pages() and put_pages())
which would give you the fuzzy feeling of testing those paths without
actually testing the shrinker. But no use cases.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list