aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2021-09-22 08:25:20 +0200
committerThomas Hellström <[email protected]>2021-09-24 08:19:09 +0200
commitd80ee88e0769e2e05afeb5d04b4dc43fc107b0d5 (patch)
tree11da62399531b23463f99a05bf74d0e4f6e25a6d /fs/jbd2/commit.c
parent0d9388635a22331d39989b96d5830b486d9c8900 (diff)
drm/i915/gem: Implement a function to process all gem objects of a region
An upcoming common pattern is to traverse the region object list and perform certain actions on all objects in a region. It's a little tricky to get the list locking right, in particular since a gem object may change region unless it's pinned or the object lock is held. Define a function that does this for us and that takes an argument that defines the action to be performed on each object. v3: - Improve structure documentation a bit (Matthew Auld) Signed-off-by: Thomas Hellström <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions