Created
November 15, 2019 20:35
-
-
Save wheresvic/a118420b9592088ea23c7414e7f2d676 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/nvidia-uvm/uvm8_tools.c | |
+++ b/nvidia-uvm/uvm8_tools.c | |
@@ -204,12 +204,14 @@ static bool tracker_is_counter(uvm_tools_event_tracker_t *event_tracker) | |
return event_tracker != NULL && !event_tracker->is_queue; | |
} | |
+/* | |
static void put_user_pages(struct page **pages, NvU64 page_count) | |
{ | |
NvU64 i; | |
for (i = 0; i < page_count; i++) | |
put_page(pages[i]); | |
} | |
+*/ | |
static void unmap_user_pages(struct page **pages, void *addr, NvU64 size) | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment