As I experience system crushes at time of mbufs exhaustion I've compiled
a debug kernel and traced the problem. I seems the NFS functions
(nfsm_rpchead, nfsm_reqh ...) does *NOT* chek if they really have
allocated memory by MGET macro.
First problem that I saw was in nfsm_reqh at nfs/nfs_subs.c
Iasen Kostov writes:
> As I experience system crushes at time of mbufs exhaustion I've compiled
> a debug kernel and traced the problem. I seems the NFS functions
> (nfsm_rpchead, nfsm_reqh ...) does *NOT* chek if they really have
> allocated memory by MGET macro.
No check is necessary if M_WAIT
Harti Brandt writes:
> IK>> > As I experience system crushes at time of mbufs exhaustion I've compiled
> IK>> > a debug kernel and traced the problem. I seems the NFS functions
> IK>> > (nfsm_rpchead, nfsm_reqh ...) does *NOT* chek if they really have
> IK>> > allocated memory by MGET macro.
> IK