diff options
| author | Jan Kara <[email protected]> | 2017-11-16 01:37:22 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-11-16 02:21:06 +0000 |
| commit | 76253fbc8fbf6018401755fc5c07814a837cc832 (patch) | |
| tree | 49f17d79cfea0a286ae131e1cee6decf794be693 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | mm: factor out page cache page freeing into a separate function (diff) | |
| download | kernel-76253fbc8fbf6018401755fc5c07814a837cc832.tar.gz kernel-76253fbc8fbf6018401755fc5c07814a837cc832.zip | |
mm: move accounting updates before page_cache_tree_delete()
Move updates of various counters before page_cache_tree_delete() call.
It will be easier to batch things this way and there is no difference
whether the counters get updated before or after removal from the radix
tree.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jan Kara <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
