On 5/9/19 10:54 AM, Mikulas Patocka wrote: > The loop that frees all the pages can take unbounded amount of time, so > add cond_resched() to it. Looks fine to me, would be nice with a comment on why the cond_resched() is needed though. -- Jens Axboe
On 5/9/19 10:54 AM, Mikulas Patocka wrote: > The loop that frees all the pages can take unbounded amount of time, so > add cond_resched() to it. Looks fine to me, would be nice with a comment on why the cond_resched() is needed though. -- Jens Axboe