We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fa590b commit 61b963bCopy full SHA for 61b963b
mm/gup_test.c
@@ -214,7 +214,7 @@ static inline void pin_longterm_test_stop(void)
214
if (pin_longterm_test_nr_pages)
215
unpin_user_pages(pin_longterm_test_pages,
216
pin_longterm_test_nr_pages);
217
- kfree(pin_longterm_test_pages);
+ kvfree(pin_longterm_test_pages);
218
pin_longterm_test_pages = NULL;
219
pin_longterm_test_nr_pages = 0;
220
}
@@ -255,7 +255,7 @@ static inline int pin_longterm_test_start(unsigned long arg)
255
fast = !!(args.flags & PIN_LONGTERM_TEST_FLAG_USE_FAST);
256
257
if (!fast && mmap_read_lock_killable(current->mm)) {
258
- kfree(pages);
+ kvfree(pages);
259
return -EINTR;
260
261
0 commit comments