Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH] fs/dcache.c: re-add cond_resched() in shrink_dcache_pa ...

$
0
0
Linus Torvalds writes: (Summary) I was going to say "but that doesn't even use select_collect()", but yeah, detach_and_collect() calls it.
but yeah, detach_and_collect() calls it.
It would be easy enough to just change the
It would be easy enough to just change the
                if (!list_empty(&data.select.dispose))

there to

                if (!list_empty(&data.select.found))

too.

In fact, it probably *should* do that, exactly to get the whole
"cond_resched()" call in that whole call chain too.

Viewing all articles
Browse latest Browse all 1267

Trending Articles