On Fri, Oct 04, 2013 at 10:33:00AM +0100, Chris Wilson wrote: > The interface uses an unsigned long, and we can use the unsigned counter > throughout our code, so do so. In the process, we notice one instance > where the shrink count is based on a heuristic rather than the result, > and another where we ask for too many pages to be purged. > > v2: nr_to_scan needs to be promoted to a long as well, so just use > sc->nr_to_scan directly. > > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Daniel Vetter <daniel.vetter@xxxxxxxx> Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx