android_kernel_oneplus_msm8998/drivers/gpu
Rajesh Kemisetti 51f1f59a3f msm: kgsl: Fix race condition while making page as dirty
set_page_dirty() is racy if the caller has no
reference against page->mapping->host, and if
the page is unlocked. This is because another
CPU could truncate the page off the mapping and
then free the mapping.

Use set_page_dirty_lock() to avoid this race condition.

Change-Id: I517fb9aee66560618c7676b311368f7a7498011f
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
2019-05-15 22:10:58 -07:00
..
drm drm/msm/sde: sanitize debugfs inputs when reading mdp memory 2018-12-20 11:04:46 -08:00
host1x
ipu-v3 Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-26 14:34:05 -07:00
msm msm: kgsl: Fix race condition while making page as dirty 2019-05-15 22:10:58 -07:00
vga
Makefile msm: kgsl: Update various exernal APIs for the 4.4 kernel 2016-03-22 11:15:52 -07:00