Re: [PATCHv4 10/14] writeback: move bdi threads exiting logic tothe forker thread

From: Artem Bityutskiy
Date: Sat Jul 24 2010 - 02:02:43 EST


On Fri, 2010-07-23 at 12:23 -0400, Christoph Hellwig wrote:
> Looks good,
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/