Messages in this thread | | | Date | Tue, 30 Sep 2014 08:58:18 +0200 | From | Richard Weinberger <> | Subject | Re: [PATCH 1/4] UBI: Ensure that all fastmap work is done upon WL shutdown |
| |
Am 30.09.2014 08:26, schrieb Artem Bityutskiy: > On Tue, 2014-09-30 at 00:20 +0200, Richard Weinberger wrote: >> ...otherwise the deferred work might run after datastructures >> got freed and corrupt memory. > > How can this happend? The background thread is stopped by this time > already, so what are the other possibilities? And why is this > fastmap-only?
This has nothing do to with the background thread. Fastmap has a work queue. If one fastmap work has been scheuled we have to wait for it.
Thanks, //richard
| |