Re: 2.4 pci_dma_sync_sg fix

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

 



On Thu, Jul 01, 2004 at 10:45:35PM +0900, Atsushi Nemoto wrote:

> >>>>> On Thu, 1 Jul 2004 15:22:40 +0200, Ralf Baechle <ralf@xxxxxxxxxxxxxx> said:
> 
> ralf> Leave the #ifdef stuff there - or otherwise gcc might optimize
> ralf> this into empty loops ...
> 
> The loop contains paranoid out_of_line_bug, so it never be optimized
> to empty.

Indeed and I think that's a bit of overkill.  I've never seen these
assertions catch any bugs - and 2.4 isn't exactly new anymore.  Anyway,
even if the loop was empty gcc would not eleminate it.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux