Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 1997 21:03:43 -0800 (PST)
From:      Sean Eric Fagan <sef@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/miscfs/procfs procfs_subr.c
Message-ID:  <199712090503.VAA25960@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
sef         1997/12/08 21:03:43 PST

  Modified files:
    sys/miscfs/procfs    procfs_subr.c 
  Log:
  Code to prevent a panic caused by procfs_exit().  Note that i don't know
  what is teh root cause -- but, sometimes, a procfs vnode in pfshead is
  apparantly corrupt (or a UFS vnode instead).  Without this patch, I can
  get it to panic by doing (in csh)
  
  	while (1)
  		ps auxwww
  	end
  
  and it will panic when the PID's wrap.  With it, it does not panic.
  Yes -- I know that this is NOT the right way to fix it.  But I haven't
  been able to get it to panic yet (which confuses me).  I am going to
  be looking into the vgone() code now, as that may be a part of it.
  
  Revision  Changes    Path
  1.20      +11 -3     src/sys/miscfs/procfs/procfs_subr.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712090503.VAA25960>