Subject: Re: src/sys/kern/kern_prot.c, function crcmp
To: None <tech-kern@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: tech-kern
Date: 08/22/2005 19:51:42
Christos Zoulas wrote:
> The lists need to be equal since this determines if as new one will be
> allocated or the one from the pool can be used. I.e. if crcmp always
> returns 1, a new one will be allocated and the system will still work.
Are you sure we're talking about the same function? I don't see any
allocation near the call to crcmp(), which is called by
vfs_hang_addrlist(), which is called by vfs_export(), which is called by
some mount functions. And even there is no allocation.
Roland