Re: [ RT PATCH] seqlock: serialize against writers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



/me adds "RT" to subject.

On Fri, 29 Aug 2008, Stephen Hemminger wrote:
> 
> I have mixed feelings about this. The point of this primitive was for
> cases where write contention was rare and writers only did small updates.
> So what you did was fix the primitive for cases where it is being misused.
> Do you have a real example where this is a problem? If so then the
> user of seqlock should be fixed, rather than fixing seqlock.
> 


I think there's some confusion here, because of the changes to raw. The 
raw_seqlock_t and mainline seqlock_t has no issue, and should not be 
touched.

What Gregory is solving is an issue in -rt where we let write seqlocks be 
preempted.  Thus this causes issues with determinism. This is a special 
case for -rt, and -rt only. It should not affect mainline in anyway.

Sorry for the noise.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux