Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752177AbWLRDKP (ORCPT ); Sun, 17 Dec 2006 22:10:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752187AbWLRDKP (ORCPT ); Sun, 17 Dec 2006 22:10:15 -0500 Received: from smtp.osdl.org ([65.172.181.25]:52438 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752177AbWLRDKO (ORCPT ); Sun, 17 Dec 2006 22:10:14 -0500 Date: Sun, 17 Dec 2006 19:09:36 -0800 (PST) From: Linus Torvalds To: Oleg Nesterov cc: Andrew Morton , David Howells , Christoph Hellwig , Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH, RFC] reimplement flush_workqueue() In-Reply-To: <20061217223416.GA6872@tv-sign.ru> Message-ID: References: <20061217223416.GA6872@tv-sign.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 593 Lines: 17 On Mon, 18 Dec 2006, Oleg Nesterov wrote: > > Remove ->remove_sequence, ->insert_sequence, and ->work_done from > struct cpu_workqueue_struct. To implement flush_workqueue() we can > queue a barrier work on each CPU and wait for its completition. Looks fine to me. It's after -rc1 so I won't apply it, but it looks like a nice cleanup. Linus - 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/