Re: [PATCH] DOCUMENTATION: Fixed typo in an example in memory-barriers.txt

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

 



On Sat, Aug 23, 2014 at 11:01:01AM -0700, Randy Dunlap wrote:
> On 08/22/14 23:05, Ganesh Rapolu wrote:
> > In the first example in the memory-barriers.txt file, CPU 2 is assigned to
> > run (x = B; y = A;). However, the rest of the example proceeds as if CPU 2 had been
> > running (x = A; y = B;) as shown by the descriptions of the possible executions:
> > 
> > 	STORE A=3,	STORE B=4,	x=LOAD A->3,	y=LOAD B->4
> > 	STORE A=3,	STORE B=4,	y=LOAD B->4,	x=LOAD A->3
> > 	STORE A=3,	x=LOAD A->3,	STORE B=4,	y=LOAD B->4
> > 	STORE A=3,	x=LOAD A->3,	y=LOAD B->2,	STORE B=4
> > 	STORE A=3,	y=LOAD B->2,	STORE B=4,	x=LOAD A->3
> > 	STORE A=3,	y=LOAD B->2,	x=LOAD A->3,	STORE B=4
> > 	STORE B=4,	STORE A=3,	x=LOAD A->3,	y=LOAD B->4
> > 	STORE B=4, ...
> > 	...
> > 
> > The change was merely to make the inital evironment consistent with what happens in the
> > rest of the example.

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




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux