Subject: Re: CVS commit: src/sys
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 12/13/2003 18:15:04
> this change seems to break ktrace.
> now ktrace_common() calls ktrops(), which might sleep,
> with proclist lock held.

Exactly where does ktrops() sleep?

If it can sleep while traversing the process list, then the process
it is referencing can exit and the pointer becomes invalid.
Which would mean that it can't use allprocs to act on all processes.

	David

-- 
David Laight: david@l8s.co.uk