Date: Sat, 28 Jul 2001 12:22:21 -0400 From: Bosko Milekic <bmilekic@technokratis.com> To: Zhihui Zhang <zzhang@cs.binghamton.edu> Cc: Terry Lambert <tlambert2@mindspring.com>, Alfred Perlstein <bright@mu.org>, vishwanath pargaonkar <vishubp@yahoo.com>, freebsd-hackers@FreeBSD.ORG Subject: Re: cluster size Message-ID: <20010728122221.A51951@technokratis.com> In-Reply-To: <Pine.SOL.4.21.0107272018280.13783-100000@opal>; from zzhang@cs.binghamton.edu on Fri, Jul 27, 2001 at 08:23:37PM -0400 References: <3B61071A.C637EA85@mindspring.com> <Pine.SOL.4.21.0107272018280.13783-100000@opal>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 27, 2001 at 08:23:37PM -0400, Zhihui Zhang wrote: > > I thought doing a memory free is always safe in an interrupt context. Now > it seems doing an allocation of memory is safe too. Does MCLGET() call > vm_page_alloc() or malloc() eventually? If so, it might block. It never calls malloc(). Sometimes, although rarely, it may end up in kmem_malloc() which calls vm_page_alloc(), but vm_page_alloc() should not block as in this case it will be called with the VM_ALLOC_INTERRUPT flag. > -Zhihui -- Bosko Milekic bmilekic@technokratis.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010728122221.A51951>