Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264431AbTIIT5Y (ORCPT ); Tue, 9 Sep 2003 15:57:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264434AbTIIT5X (ORCPT ); Tue, 9 Sep 2003 15:57:23 -0400 Received: from pizda.ninka.net ([216.101.162.242]:44248 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id S264431AbTIIT5Q (ORCPT ); Tue, 9 Sep 2003 15:57:16 -0400 Date: Tue, 9 Sep 2003 12:46:35 -0700 From: "David S. Miller" To: Felipe W Damasio Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Missing memory barrier on net/core/dev.c Message-Id: <20030909124635.3c0d522b.davem@redhat.com> In-Reply-To: <3F5E14D7.9030809@terra.com.br> References: <3F5E14D7.9030809@terra.com.br> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.6; sparc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 576 Lines: 14 On Tue, 09 Sep 2003 14:58:47 -0300 Felipe W Damasio wrote: > I *think* net/core/dev.c is missing a mb() before calling > schedule_timoeut. I have another patch in my queue from Andrew Morton that removes the TASK_RUNNING setting altogether, schedule_timeout() always returns with the task in that state. - 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/