1
0
Files
linux/drivers
Chris Wilson 168cf367d7 drm/i915/shrinker: Refactor common uninterruptible locking
Both the oom and vmap notifier callbacks have a loop to acquire the
struct_mutex and set the device as uninterruptible, within a certain
time. Refactor the common code into a pair of functions.

Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459848145-24042-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2016-04-05 11:13:52 +01:00
..
2016-03-14 09:46:02 +10:00
2016-01-12 12:17:28 +01:00
2016-03-14 09:46:02 +10:00
2016-02-23 17:17:20 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-03-14 09:46:02 +10:00
2016-01-12 01:12:40 +01:00
2016-01-20 17:09:18 -08:00
2016-02-26 12:47:32 +02:00
2016-02-28 07:38:52 -07:00
2016-03-14 09:46:02 +10:00