Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754451Ab3F1AaG (ORCPT ); Thu, 27 Jun 2013 20:30:06 -0400 Received: from mail-ie0-f193.google.com ([209.85.223.193]:60328 "EHLO mail-ie0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754072Ab3F1AaE (ORCPT ); Thu, 27 Jun 2013 20:30:04 -0400 Message-ID: <51CCD906.6030902@codyps.com> Date: Thu, 27 Jun 2013 17:29:58 -0700 From: Cody P Schafer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Eliezer Tamir CC: David Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Jesse Brandeburg , Don Skidmore , e1000-devel@lists.sourceforge.net, Willem de Bruijn , Eric Dumazet , Ben Hutchings , Andi Kleen , HPA , Eilon Greenstien , Or Gerlitz , Amir Vadai , Alex Rosenbaum , Eliezer Tamir Subject: Re: [PATCH v4 net-next] net: poll/select low latency socket support References: <20130624072751.26134.78163.stgit@ladj378.jer.intel.com> <20130624072803.26134.41593.stgit@ladj378.jer.intel.com> <51CCD812.5090408@codyps.com> In-Reply-To: <51CCD812.5090408@codyps.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 893 Lines: 25 On 06/27/2013 05:25 PM, Cody P Schafer wrote: > On 06/24/2013 12:28 AM, Eliezer Tamir wrote: >> select/poll busy-poll support. >> ... > > I'm seeing warnings about using smp_processor_id() while preemptable > (log included below) due to this patch. I expect the use of > ll_end_time() -> sched_clock() here is triggering this. > > Apologies if this has already been noted. To be clear, given how sched_time() is used here the BUG appears invalid, but we need a way to mark this as OK for the smp_processor_id() checks so we don't get BUG spam. > -- > > # [ 3.114452] BUG: using smp_processor_id() in preemptible [00000000] > code: sh/62 ... -- 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/