Messages in this thread | | | Subject | Re: [PATCHv4 10/14] writeback: move bdi threads exiting logic to the forker thread | From | Artem Bityutskiy <> | Date | Sat, 24 Jul 2010 08:55:06 +0300 |
| |
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/
| |