From: Ralph Campbell Date: Tue, 13 Oct 2020 23:58:42 +0000 (-0700) Subject: mm/migrate: remove obsolete comment about device public X-Git-Tag: v5.15~2704^2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=f1f4f3ab54e9a52c7610c998ff8255f019742e67;p=mirror_ubuntu-kernels.git mm/migrate: remove obsolete comment about device public Device public memory never had an in tree consumer and was removed in commit 25b2995a35b6 ("mm: remove MEMORY_DEVICE_PUBLIC support"). Delete the obsolete comment. Signed-off-by: Ralph Campbell Signed-off-by: Andrew Morton Reviewed-by: Jason Gunthorpe Cc: Jerome Glisse Cc: John Hubbard Cc: Christoph Hellwig Link: http://lkml.kernel.org/r/20200827190735.12752-2-rcampbell@nvidia.com Signed-off-by: Linus Torvalds --- diff --git a/mm/migrate.c b/mm/migrate.c index b0734900e953..f94d7c7eeddf 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -381,7 +381,7 @@ static int expected_page_refs(struct address_space *mapping, struct page *page) int expected_count = 1; /* - * Device public or private pages have an extra refcount as they are + * Device private pages have an extra refcount as they are * ZONE_DEVICE pages. */ expected_count += is_device_private_page(page);