Port-alpha archive

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

Re: is __insn_barrier() needed in alpha_pal_swpipl ?



On Wed, 6 May 2009, Manuel Bouyer wrote:

alpha has an inline splhigh (alpha_pal_swpipl() really); and I couldn't
determine if the assembly in this function is a barrier for
the compiler, or if a __insn_barrier() is needed here. Can someone
confirms it ?

I looked at a disassembly of kern_softintr.o, and it appears that it's not needed for alpha (the second check of sh_flags is present after the
splhigh()).

--
Michael L. Hitch                        mhitch%montana.edu@localhost
Computer Consultant
Information Technology Center
Montana State University        Bozeman, MT     USA


Home | Main Index | Thread Index | Old Index