Re: memory barrier in UP

2011-12-12 Thread Mulyadi Santosa
Hi Subin On Tue, Dec 13, 2011 at 01:57, subin gangadharan wrote: > Hi Mulyadi, > > Thanks for the answer. You welcome...I just shared what I know :) > In that case (ALPHA), is compiler barrier sufficient enough to prevent > the re ordering done by the processor. > What I was thinking,compil

Re: memory barrier in UP

2011-12-12 Thread subin gangadharan
Hi Mulyadi, Thanks for the answer. On Mon, Dec 12, 2011 at 11:16 AM, Mulyadi Santosa wrote: > Hi... > > On Mon, Dec 12, 2011 at 01:11, subin gangadharan > wrote: >> Hi All, >> >> I am reading about the barrier from linux kernel development.In this >> books, he says >> "On SMP kernels they are d

Re: memory barrier in UP

2011-12-12 Thread Mulyadi Santosa
Hi... On Mon, Dec 12, 2011 at 01:11, subin gangadharan wrote: > Hi All, > > I am reading about the barrier from linux kernel development.In this > books, he says > "On SMP kernels they are defined only as usual memory barriers.where > as on UP kernels they are > defined only as a compiler barrier