[PATCH 2.6.19 1/4] ehca: assure 4k alignment for firmware control block in 64k page mode

Roland Dreier rdreier at cisco.com
Tue Nov 7 03:50:44 EST 2006


 > I'd simply move the memset into the alloc function and get rid of the
 > constructor here.

Slightly better still would be to use kmem_cache_zalloc() (save a tiny
bit of text by getting rid of the call to memset).

 - R.



More information about the Linuxppc-dev mailing list