Whamcloud - gitweb
LU-4330 lnet: Allocate MEs and small MDs in own kmem_caches 86/18586/12
authorBruno Faccini <bruno.faccini@intel.com>
Tue, 23 Feb 2016 19:38:47 +0000 (20:38 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 31 May 2016 04:56:23 +0000 (04:56 +0000)
commit9d9bb678d6b3707623845e0ce67dd7fd07a12fe9
tree31269a4c9c71cc659009661fbed9e5ed399a52e7
parent047dfe489966c8816cbead1a3abbbb1564fdb7db
LU-4330 lnet: Allocate MEs and small MDs in own kmem_caches

As part of LU-3848 and LU-4330, it has been discovered that LNET
MEs and small MDs (<=128 Bytes) are allocated in <size-128> kmem_cache
and thus can suffer quite frequent corruptions, from other modules or
Kernel parts, that occur there. To avoid this, MEs and small-MDs
specific kmem_cache have been created.

Also, lnet_libmd struct fields have been re-ordered to optimize its
memory foot-print.

Signed-off-by: Bruno Faccini <bruno.faccini@intel.com>
Change-Id: I6cfbed0c3f0a4c2447fe22b2d0d30dba8e3f3173
Reviewed-on: http://review.whamcloud.com/18586
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-types.h
lnet/lnet/api-ni.c