summaryrefslogtreecommitdiff
path: root/include/linux/hmm.h
diff options
context:
space:
mode:
authorKuehling, Felix <Felix.Kuehling@amd.com>2019-05-10 19:53:24 +0000
committerJason Gunthorpe <jgg@mellanox.com>2019-06-06 16:31:41 -0300
commit9b1ae605c8e295836050fa6eaf720131db2fac73 (patch)
treeb2ac18bc0976f6267bce953fc0f826dc104821d0 /include/linux/hmm.h
parent789c2af88f24d1db983aae49b5c4561e6e02ff5b (diff)
mm/hmm: Only set FAULT_FLAG_ALLOW_RETRY for non-blocking
Don't set this flag by default in hmm_vma_do_fault. It is set conditionally just a few lines below. Setting it unconditionally can lead to handle_mm_fault doing a non-blocking fault, returning -EBUSY and unlocking mmap_sem unexpectedly. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Jérôme Glisse <jglisse@redhat.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/linux/hmm.h')
0 files changed, 0 insertions, 0 deletions