From: Aaron Taylor Date: Sun, 2 May 2021 08:19:33 +0000 (-0700) Subject: Updated micscif/micscif_rma.c from page_cache_release() to put_page(). X-Git-Tag: first-build~4 X-Git-Url: https://git.subgeniuskitty.com/xeon-phi-kernel-module/.git/commitdiff_plain/60589c215d370aee8cdacea2cbee38455e2133d8 Updated micscif/micscif_rma.c from page_cache_release() to put_page(). See also: - https://github.com/torvalds/linux/commit/1fa64f198b9f8d6ec0f7aec7c18dc94684391140 - https://github.com/torvalds/linux/commit/09cbfeaf1a5a67bfb3201e0c83c810cecb2efa5a --- diff --git a/micscif/micscif_rma.c b/micscif/micscif_rma.c index 9c6de2e..870746c 100644 --- a/micscif/micscif_rma.c +++ b/micscif/micscif_rma.c @@ -413,7 +413,7 @@ int micscif_destroy_pinned_pages(struct scif_pinned_pages *pinned_pages) BUG_ON(!page_count(pinned_pages->pages[j])); BUG_ON(atomic_long_sub_return(1, &ms_info.rma_pin_cnt) < 0); #endif - page_cache_release(pinned_pages->pages[j]); + put_page(pinned_pages->pages[j]); } } }