Whamcloud - gitweb
b=2430
authorzab <zab>
Fri, 26 Dec 2003 20:20:02 +0000 (20:20 +0000)
committerzab <zab>
Fri, 26 Dec 2003 20:20:02 +0000 (20:20 +0000)
commitfc5bf52cd4e080fc75a8d6eaf240e108a1e723e6
treefd9c1349e7247cc204e35f38edec2dd0b04a1084
parent0f10634cb96166fc77d5c9713a50fd8c2e440415
b=2430
Use kmalloc() instead of slab to allocate the MD and MSG portal descriptors.
On x86_64 the MD and MSG structs got quite large, into the 2k range, though
pages are still 4k there.  This tricked slab into trying to back their slabs
with multi-page allocations.  These allocations failed under high load which
lead to LBUG()s and timeouts.

While we're in here, properly initialize the in_use counts and stop using
sleeping allocations while holding the state lock.
lnet/include/linux/kp30.h
lnet/include/lnet/lib-lnet.h
lnet/include/lnet/lib-p30.h
lnet/include/lnet/lib-types.h
lnet/lnet/lib-init.c
lustre/portals/include/linux/kp30.h
lustre/portals/include/portals/lib-p30.h
lustre/portals/include/portals/lib-types.h
lustre/portals/portals/lib-init.c