From owner-cvs-all Wed Jun 30 10:46: 2 1999 Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 7E9C815583; Wed, 30 Jun 1999 10:45:54 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.1/8.9.1) id NAA25358; Wed, 30 Jun 1999 13:45:52 -0400 (EDT) (envelope-from wollman) Date: Wed, 30 Jun 1999 13:45:52 -0400 (EDT) From: Garrett Wollman Message-Id: <199906301745.NAA25358@khavrinen.lcs.mit.edu> To: Julian Elischer Cc: Garrett Wollman , Peter Wemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern init_main.c kern_fork.c kern_linker.c vfs_aio.c src/sys/sys proc.h In-Reply-To: References: <199906301545.LAA24873@khavrinen.lcs.mit.edu> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk < said: >> Because proc structures are now stored in type-stable memory (via the >> zone allocator), other places in the kernel which now reference >> processes by pid and pfind should be able to keep a reference to the >> proc instead. (There does need to be a version number which gets >> incremented when proc structs are recycled, but this should still be >> cheaper than pfind().) This would benefit network applications >> written around a poll or select loop, since the simple case of >> selwakeup() uses pfind() to locate the specific process to wake up. > Bill Jolitz added the PID stuff because there can be races where > the proc structure is re-used.. You totally missed the point, Julian. Read what I wrote again. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message