[RFC] jffs2: use cond_resched() instead of yield()

Joakim Tjernlund joakim.tjernlund at transmode.se
Thu Sep 2 09:52:52 EDT 2010


Artem Bityutskiy <dedekind1 at gmail.com> wrote on 2010/09/02 12:59:09:
>
> On Thu, 2010-09-02 at 09:01 +0200, Joakim Tjernlund wrote:
> > At the time cond_resched() was a problem but now I don't know. The erasing
> > has moved to the GC thread and been somewhat reworked. I don't know if
> > it still needs yield(). Perhaps David can tell?
>
> I think 'yield()' is rather a hack than a real solution.

Yes, the real fix is to move erasing to GC and that has been done now.
There is a good chance yield() can be removed without regression
but I am not sure nor do I have the time to test that.

 Jocke




More information about the linux-mtd mailing list