On Mon, 2007-07-09 at 15:19 +0200, Rodolfo Giometti wrote:
>
> > Also read Documentation/volatile-considered-harmful.txt and ponder
> > deeply your use of 'volatile' on certain members of struct pps_s.
>
> I read such document but I'm still convinced that the attribute
> volatile is needed for {assert,clear}_sequence and {assert,clear}_tu
> since inside pps_event() they are updated without any locks at all
> thanks to the dummy_info variable which is used for unallocated PPS
> sources.
I'm sure the version with 'volatile' will also be broken then. Sounds
like the right answer is to fix the locking.
--
dwmw2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]