[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120924182837.GI7694@google.com>
Date: Mon, 24 Sep 2012 11:28:37 -0700
From: Tejun Heo <tj@...nel.org>
To: Maxim Levitsky <maximlevitsky@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Alex Dubov <oakad@...oo.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] memstick: add support for legacy memorysticks
Hello,
On Mon, Sep 24, 2012 at 08:24:37PM +0200, Maxim Levitsky wrote:
> Should have looked through the source. Understand now.
> Just one quick question, should I create my own workqueue or use
> schedule_work? if I use the later and my work function sleeps, will it
> harmfully affect other users of this function?
If memstick can be in memory reclaim path (most block devices are),
you would want to create a dedicated workqueue w/ rescuer. For
details, please read Documentation/workqueue.txt.
Thanks.
--
tejun
--
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