mm/hmm: remove the unused HMM_FAULT_ALLOW_RETRY flag
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Mar 2020 13:53:07 +0000 (14:53 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 26 Mar 2020 17:33:37 +0000 (14:33 -0300)
commit96268163f9c9443e7f73a202253f68566f93dc79
treebb4b5213de5449e2e8803393f26d60ec7a577020
parentddfaed17a779ddb728e5534a87596950842d6b04
mm/hmm: remove the unused HMM_FAULT_ALLOW_RETRY flag

The HMM_FAULT_ALLOW_RETRY isn't used anywhere in the tree.  Remove it and
the weird -EAGAIN handling where handle_mm_fault() drops the mmap_sem.

Link: https://lore.kernel.org/r/20200316135310.899364-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/linux/hmm.h
mm/hmm.c