Re: 2.6.36 regression : swap support broken

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

 



> > (insn:TI 15 14 16 (parallel [
> >             (asm_operands/v ("") ("") 0 []
> > 		 []
> > 		 [] mm/swap_state.c:185)
> > 	    (clobber (mem:BLK (scratch) [0 A8]))
> > 	]) include/linux/page-flags.h:298 -1
> >     (nil))
> 
> I think the way to avoid this in the kernel is to stick a "nop" in
> the memory barrier.  That will avoid a zero length asm and branching
> into the delay slot.

A further reason is GCC does not know the length of asm insns.  So,
using a zero length asm on parisc is asking for trouble.

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux