lkml.org 
[lkml]   [2010]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCHv4 10/14] writeback: move bdi threads exiting logic to the forker thread
From
Date
On Fri, 2010-07-23 at 12:23 -0400, Christoph Hellwig wrote:
> Looks good,
>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
>
> Maybe bdi_forker_thread can be cleaned up a bit more by introducing a
>
> enum {
> NO_ACTION,
> START_THREAD,
> KILL_THREAD,
> } action;
>
> and then do a switch based on it later?

Just did this. May be it became a bit nicer, not sure. Matter of taste.

--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-07-24 08:05    [W:0.063 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site