Skip to content

Commit

Permalink
kmsan: use set_no_*_page in kmsan_free_page()
Browse files Browse the repository at this point in the history
  • Loading branch information
ramosian-glider committed Apr 10, 2019
1 parent b801a45 commit b6b5955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/kmsan/kmsan_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ void kmsan_free_page(struct page *page, unsigned int order)
if (!kmsan_ready) {
for (i = 0; i < pages; i++) {
cur_page = &page[i];
shadow_page_for(cur_page) = NULL;
origin_page_for(cur_page) = NULL;
set_no_shadow_page(cur_page);
set_no_origin_page(cur_page);
}
return;
}
Expand Down

0 comments on commit b6b5955

Please sign in to comment.