Re: [PATCH v4 net-next] net: poll/select low latency socket support
From: Cody P Schafer
Date: Thu Jun 27 2013 - 20:30:11 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/