Date: Sun, 16 Jun 2002 23:51:54 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: "Kenneth D. Merry" <ken@kdm.org> Cc: current@FreeBSD.org, alc@FreeBSD.org Subject: Re: vm_object_allocate() question Message-ID: <3D0D870A.9BC3D728@mindspring.com> References: <20020616221919.A78576@panzer.kdm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Kenneth D. Merry" wrote: > 2. Change vm_object_allocate() somehow so that uma_zalloc() isn't called > with M_WAITOK. > > I've attached patches for the second option. I created a new function, > vm_object_allocate_wait(), that allows the user to specify whether or not > to wait on the uma_zalloc() call. > > vm_object_allocate() is a wrapper for the new vm_object_allocate_wait() > call that preserves the current behavior. > > Patches are attached, comments would be appreciated! Can't this happen as a result of a fault? If that's the case, then the M_WAITOK is, well, required. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0D870A.9BC3D728>