[RFC] Don'd hold work_sem while calling worker functions

Richard Weinberger richard at nod.at
Tue Sep 16 06:26:36 PDT 2014


I fail to see why we need work_sem while wrk->func() is executed.
Artem, do you have an idea?

Having the wear_leveling_worker() called without work_sem held
would simplify the fastmap code too. I'm currently reworking some
of it's code and I'm in locking hell. 8-)

Thanks,
//richard

[PATCH 1/2] UBI: Call worker functions without work_sem held
[PATCH 2/2] UBI: Get rid of __schedule_ubi_work()



More information about the linux-mtd mailing list