Searched hist:"187229 c2ddd12a5bb5cd6bb3fbef9ecbc6eead92" (Results 1 – 1 of 1) sorted by relevance
/linux/mm/ |
H A D | hmm.c | diff 187229c2ddd12a5bb5cd6bb3fbef9ecbc6eead92 Thu May 23 16:31:45 CEST 2019 Jason Gunthorpe <jgg@mellanox.com> mm/hmm: Remove racy protection against double-unregistration
No other register/unregister kernel API attempts to provide this kind of protection as it is inherently racy, so just drop it.
Callers should provide their own protection, and it appears nouveau already does.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: Jérôme Glisse <jglisse@redhat.com> Reviewed-by: John Hubbard <jhubbard@nvidia.com> Reviewed-by: Ralph Campbell <rcampbell@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Tested-by: Philip Yang <Philip.Yang@amd.com>
|