Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752337AbbFZSK5 (ORCPT ); Fri, 26 Jun 2015 14:10:57 -0400 Received: from mga11.intel.com ([192.55.52.93]:8850 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751898AbbFZSKs (ORCPT ); Fri, 26 Jun 2015 14:10:48 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,686,1427785200"; d="scan'208";a="735383183" Date: Fri, 26 Jun 2015 12:10:47 -0600 From: Jon Derrick To: Parav Pandit Cc: linux-nvme@lists.infradead.org, Matthew Wilcox , Jens Axboe , Keith Busch , linux-kernel@vger.kernel.org Subject: Re: [PATCH] NVMe: Fixed race between nvme_thread & probe path. Message-ID: <20150626181047.GA3128@localhost.localdomain> References: <1434624230-25050-1-git-send-email-Parav.pandit@avagotech.com> <20150618155932.GA1276@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 449 Lines: 15 > >> + smp_wmb(); > > > > This has been applied already as an explicit mb() > > Since these structure is only accessible by software, won't smp_wmb() > sufficient enough? > Seems reasonable to me -- 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/