summaryrefslogtreecommitdiff
path: root/arch/x86/entry/common.c
diff options
context:
space:
mode:
authorRajesh Kemisetti <rajeshk@codeaurora.org>2019-04-30 19:04:30 +0530
committerArchana Sriram <apsrir@codeaurora.org>2019-05-08 10:05:28 +0530
commit1d02b55727d53946aedeee9d330664e385195440 (patch)
treeae11647bd58cd8900539e050a13b0e553bfb4425 /arch/x86/entry/common.c
parent57cc803c86c0c29f7ed2a1302b76c43442cb11a1 (diff)
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>
Diffstat (limited to 'arch/x86/entry/common.c')
0 files changed, 0 insertions, 0 deletions