Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754194AbbEZPUi (ORCPT ); Tue, 26 May 2015 11:20:38 -0400 Received: from mail-by2on0056.outbound.protection.outlook.com ([207.46.100.56]:11632 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753409AbbEZPUf (ORCPT ); Tue, 26 May 2015 11:20:35 -0400 X-Greylist: delayed 7234 seconds by postgrey-1.27 at vger.kernel.org; Tue, 26 May 2015 11:20:35 EDT Authentication-Results: spf=pass (sender IP is 63.163.107.173) smtp.mailfrom=sandisk.com; linux.vnet.ibm.com; dkim=none (message not signed) header.d=none; X-AuditID: ac160a69-f790f6d000001879-9e-55646aa2c276 Message-ID: <55646A9E.5050401@sandisk.com> Date: Tue, 26 May 2015 14:44:14 +0200 From: Bart Van Assche User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Nicholas A. Bellinger" , target-devel CC: linux-scsi , linux-kernel , Christoph Hellwig , "Hannes Reinecke" , Sagi Grimberg , "Paul E. McKenney" , Nicholas Bellinger Subject: Re: [PATCH-v2 0/4] target: Eliminate se_port + t10_alua_tg_pt_gp_member References: <1432623445-25776-1-git-send-email-nab@daterainc.com> In-Reply-To: <1432623445-25776-1-git-send-email-nab@daterainc.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprLIsWRmVeSWpSXmKPExsWyRoxnke6irJRQgx3fuSz2LJrEZLFy9VEm i8u75rBZdF/fwWbx6twKJou21WcYLd5u/s5qcaPtAZtF69K3TA6cHks/rGL2uL/9CJPHg0Ob WTx232xg83g2/TCTx+bT1R6fN8kFsEdx2aSk5mSWpRbp2yVwZTxqvsRUsIul4tqs4gbGk8xd jBwcEgImEi9nMHUxcgKZYhIX7q1n62Lk4hASOMEoseD1L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ZLzczcxgoOdM3IH49OJ5ocYmTg4pRoY7wVWbAs6 qZN9RstPqpihompHQuy0kwrumwwC1Wc1/0ns7zllXyu28EP2+tuVj39sdlN+c+8Mb4KFQmKX r/OVjuyNH7Z+2Mw9J2bh9v9x7palF03SX51sd3sm/Z/tvESBUu/taM+Zc455tG08zhNvInRi zyXexUd+TdF+JaPAH/r1viBP0sMJSizFGYmGWsxFxYkAIWOmECYCAAA= X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD021;1:tAv4ipBnu8pZJz1y/FhWda1oufD4zcTdNK5ZxowtCMyD8gVcPW6xudsqIyV3lrXQgM+mJiUC8nCYQ+3XYAUgv6cqjq/CvGDuFBNFOnmP22Zm7pu1h3PpnGcVq1klfnUA8f0mcZkJ9L5j0Wo3fqg+MI5rkHijCefblTMg0RiddtSpQfPpc/msEge7TLOJdt+G41TDcpkxyXt0+Nv5YKRrK3uc39WLt8WSLaJHY1uk+cCJWqmpw1adWJmWiNMmoXINwwlqLH7Uj4nSGfoELBMQj0tY2UAZ0mpDODvy8r3j+uw6IGFzaD6kKGeXSabl1VkKVZTVQL6Pr2nRE50ThV/sXQ== X-Forefront-Antispam-Report: CIP:63.163.107.173;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(438002)(199003)(479174004)(189002)(24454002)(59896002)(80316001)(87936001)(65806001)(46102003)(64706001)(83506001)(69596002)(50466002)(65956001)(86362001)(64126003)(106466001)(47776003)(5001830100001)(77156002)(62966003)(5001960100002)(92566002)(65816999)(68736005)(77096005)(50986999)(76176999)(87266999)(54356999)(2950100001)(81156007)(33656002)(4001350100001)(5001770100001)(99136001)(189998001)(5001860100001)(4001540100001)(23746002)(97736004)(36756003);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR0201MB1029;H:milsmgep12.sandisk.com;FPR:;SPF:Pass;PTR:ErrorRetry;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0201MB1029; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(520002)(3002001);SRVR:BY1PR0201MB1029;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0201MB1029; X-Forefront-PRVS: 0588B2BD96 X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 May 2015 12:44:18.5524 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d;Ip=[63.163.107.173];Helo=[milsmgep12.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0201MB1029 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 801 Lines: 19 On 05/26/15 08:57, Nicholas A. Bellinger wrote: > - Add various rcu_dereference and lockless_dereference RCU notation Hello Nic, Feedback from an RCU expert (which I'm not) would be appreciated here. But my understanding is that lockless_dereference(p) should be used for a pointer p that has *not* been annotated as an RCU pointer. I think in the for-next branch of the target repository that this macro is used to access RCU-annotated pointers. Is that why sparse complains about how lockless_dereference() is used in the target tree ? Bart. -- 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/