[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OF13870AE6.AC42397E-ONC1257792.004C0931-C1257792.004C4099@transmode.se>
Date: Thu, 2 Sep 2010 15:52:52 +0200
From: Joakim Tjernlund <joakim.tjernlund@...nsmode.se>
To: dedekind1@...il.com
Cc: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>, dwmw2@...radead.org,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
Ingo Molnar <mingo@...e.hu>,
Wolfram Sang <w.sang@...gutronix.de>
Subject: Re: [RFC] jffs2: use cond_resched() instead of yield()
Artem Bityutskiy <dedekind1@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists