Re: [RFC PATCH] libata: PIO via bounce buffer

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

 



> Inside ata_bounce_pio_xfer(), get the buffer for your CPU.  If NULL or 
> too small, allocate new buffer, otherwise re-use existing buffer.
> 
> This method makes the common case _not_ allocate anything, which should 
> be obviously more efficient.

Obviously ?

kmalloc will usually return us a cache hot buffer very very fast. A
private allocator will return us an almost certainly cache cold buffer
slightly faster.

I'm not sure its that simple.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux