lkml.org 
[lkml]   [1999]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: further xtime race fixes [was Re: [patch] fix for xtime SMP race]
On Fri, 25 Dec 1998, Andrea Arcangeli wrote:

> On Thu, 24 Dec 1998, Andrea Arcangeli wrote:
>
> > Here the patch against 2.1.132 to make get_time_fast() SMP safe:
>
> This patch will fix also all other raw accesses to xtime. I think it's

Linus I seen you have not included my get_xtime()-s/xtime/__xtime/ patch.
Am I missing something and the patch was not needed? I think that without
that patch some place of kernel could use a not consistent xtime value
because they are reading xtime without any lock (there could be a bh
handler or a syscall that is modifying xtime running at the same time on
the other CPU). I know the window is very small though...

Andrea Arcangeli


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.083 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site