Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 30 Sep 2002 14:05:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 30 Sep 2002 14:05:04 -0400 Received: from mx1.elte.hu ([157.181.1.137]:36741 "HELO mx1.elte.hu") by vger.kernel.org with SMTP id ; Mon, 30 Sep 2002 14:05:03 -0400 Date: Mon, 30 Sep 2002 20:20:08 +0200 (CEST) From: Ingo Molnar Reply-To: Ingo Molnar To: Dipankar Sarma Cc: Linus Torvalds , Subject: Re: [patch] generic work queue handling, workqueue-2.5.39-D6 In-Reply-To: <20020930231537.A29582@in.ibm.com> Message-ID: 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: 893 Lines: 23 On Mon, 30 Sep 2002, Dipankar Sarma wrote: > Ingo, > > Is it possible that queue_task() handlers in earlier driver code may > have depended on implicit serialization against corresponding timer > handlers since each of those is run from BHs ? If so, isn't that an > issue now with no BHs ? Or, is it safe to assume that general smp-safety > code in the drivers will take care of serialization between timers and > work-queues ? yes, this is true - such drivers need to use spinlocks. But since basically every driver abstraction within the kernel already necessiates per-driver spinlocks, this should be straightforward in most cases. Ingo - 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/