lkml.org 
[lkml]   [2007]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] LinuxPPS (with new syscalls API) - new version
From
Date
On Tue, 2007-07-10 at 18:38 +0200, Rodolfo Giometti wrote:
> On Tue, Jul 10, 2007 at 05:05:47PM +0100, David Woodhouse wrote:
> >
> > I'm sure the version with 'volatile' will also be broken then. Sounds
> > like the right answer is to fix the locking.
>
> But wish avoiding locking at all since this may delay the time stamp
> recording. We (the LinuxPPS guys) niticed that just a single
> instruction my degrade the time setting about 50%!
>
> I avoid locking just using a pointer and setting it to a dummy
> structure when not used... is that wrong? :-o

Almost certainly (admittedly said without looking).

--
dwmw2

-
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/

\
 
 \ /
  Last update: 2007-07-11 11:21    [W:1.585 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site