summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_script.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2020-08-19 16:08:53 +0200
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2020-09-07 14:31:02 +0300
commit3999a7087989af0bfb9406b77d3d8444031aab7d (patch)
treecd83e17e64f0e7bf5605128706c45ed1e294478d /fs/binfmt_script.c
parent2bf541ff6d06f4169e198adaa6c4133e178caaa5 (diff)
downloadlinux-3999a7087989af0bfb9406b77d3d8444031aab7d.tar.gz
linux-3999a7087989af0bfb9406b77d3d8444031aab7d.tar.bz2
linux-3999a7087989af0bfb9406b77d3d8444031aab7d.zip
drm/i915: Rework intel_context pinning to do everything outside of pin_mutex
Instead of doing everything inside of pin_mutex, we move all pinning outside. Because i915_active has its own reference counting and pinning is also having the same issues vs mutexes, we make sure everything is pinned first, so the pinning in i915_active only needs to bump refcounts. This allows us to take pin refcounts correctly all the time. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Thomas Hellström <thomas.hellstrom@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200819140904.1708856-14-maarten.lankhorst@linux.intel.com Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions