Re: memcpy_toio on i386 using byte writes even when n%2==0

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

 



Followup to:  <[email protected]>
By author:    Robert Hancock <[email protected]>
In newsgroup: linux.dev.kernel
> > 
> > Note that there isn't any code for moving dwords because the
> > chances of gaining anything are slim (alignment may hurt).
> 
> I'd say the chances of gaining something from executing half as many 
> instructions on copying a large block of memory are very good indeed..
> 

For something that generates I/O transactions, it's imperative to
generate the smallest possible number of transactions.  Furthermore,
smaller than dword transactions aren't burstable, except at the
beginning and end of a burst.

	-hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux