lkml.org 
[lkml]   [2008]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC patch 08/18] cnt32_to_63 should use smp_rmb()
Date
Nicolas Pitre <nico@cam.org> wrote:

> I explained several times already why I disagree. Preemption is not a
> problem unless you're preempted away for long enough, or IOW if your
> counter is too fast.

That's my point. Say a nice -19 process gets preempted... what guarantees
that it will resume within, the time it takes the counter to wrap? Even if
the preempting process goes back to sleep, in that time a bunch of other
processes could have woken up and could starve it for a long period of time.

David


\
 
 \ /
  Last update: 2008-11-08 00:59    [W:0.140 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site