Loading drivers/block/brd.c +6 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,12 @@ static void brd_free_pages(struct brd_device *brd) pos++; /* * It takes 3.4 seconds to remove 80GiB ramdisk. * So, we need cond_resched to avoid stalling the CPU. */ cond_resched(); /* * This assumes radix_tree_gang_lookup always returns as * many pages as possible. If the radix-tree code changes, Loading Loading
drivers/block/brd.c +6 −0 Original line number Diff line number Diff line Loading @@ -152,6 +152,12 @@ static void brd_free_pages(struct brd_device *brd) pos++; /* * It takes 3.4 seconds to remove 80GiB ramdisk. * So, we need cond_resched to avoid stalling the CPU. */ cond_resched(); /* * This assumes radix_tree_gang_lookup always returns as * many pages as possible. If the radix-tree code changes, Loading