mm/hmm: Do not use list*_rcu() for hmm->ranges
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 23 May 2019 14:43:43 +0000 (11:43 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 18 Jun 2019 14:57:45 +0000 (11:57 -0300)
commit157816f3775f5c4df2c68ef0e3a100ada974aa2e
tree57cde98b0db06e0eee0b9704df6c175dee960cbc
parent378a60406415bd20ec6e845a3d6883d460656537
mm/hmm: Do not use list*_rcu() for hmm->ranges

This list is always read and written while holding hmm->lock so there is
no need for the confusing _rcu annotations.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Jérôme Glisse <jglisse@redhat.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Ralph Campbell <rcampbell@nvidia.com>
Reviewed-by: Ira Weiny <iweiny@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Philip Yang <Philip.Yang@amd.com>
mm/hmm.c