Skip to content

Commit

Permalink
mm-change-to-return-bool-for-isolate_movable_page-fix
Browse files Browse the repository at this point in the history
remove unneeded comment, per Matthew

Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
Andrew Morton committed Feb 16, 2023
1 parent 272824b commit 6905915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/memory_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ do_migrate_range(unsigned long start_pfn, unsigned long end_pfn)
isolated = isolate_lru_page(page);
else
isolated = isolate_movable_page(page, ISOLATE_UNEVICTABLE);
if (isolated) { /* Success */
if (isolated) {
list_add_tail(&page->lru, &source);
if (!__PageMovable(page))
inc_node_page_state(page, NR_ISOLATED_ANON +
Expand Down

0 comments on commit 6905915

Please sign in to comment.