Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264961AbTIDNXa (ORCPT ); Thu, 4 Sep 2003 09:23:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264983AbTIDNXa (ORCPT ); Thu, 4 Sep 2003 09:23:30 -0400 Received: from pc1-cwma1-5-cust4.swan.cable.ntl.com ([80.5.120.4]:58837 "EHLO dhcp23.swansea.linux.org.uk") by vger.kernel.org with ESMTP id S264961AbTIDNX3 (ORCPT ); Thu, 4 Sep 2003 09:23:29 -0400 Subject: Re: [PATCH] Fix SMP support on 3c527 net driver, take 2 From: Alan Cox To: Felipe W Damasio Cc: Richard Procter , Linux Kernel Mailing List In-Reply-To: <3F573574.5060008@terra.com.br> References: <3F573574.5060008@terra.com.br> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1062681740.21994.48.camel@dhcp23.swansea.linux.org.uk> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 (1.4.4-4) Date: Thu, 04 Sep 2003 14:22:21 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 600 Lines: 15 On Iau, 2003-09-04 at 13:52, Felipe W Damasio wrote: > But I'm not sure on how we should go here: We go get the hold lock > right after 'status=inb(ioaddr+HOST_CMD)', so we can treat the > interrupt safely. > > Although, there are some places that we do "wake_up (lp->event)", wake_up will not sleep, its safe from interrupts and with locks held. - 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/