isp1760 vs pehci: use of kmem_cache_create

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

 



Hello,

I am trying to compare the isp1760 from linux mainline vs the pehci driver from STErricson
one thing stands out right away in the init functions

the isp1760's kmem_init_once creates two kmem chace for struct isp1760_qtd and struct isp1760_qh
which seems to be a  common structure created by other HCD drivers.

the pehci driver however, creates three kmem_cache for qtd, qh, and qha, all sizeof(isp1761_qha)

Can someone please enlighten me to the different approaches being used here?

Thank you for your time.

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


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux