Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 00:15:28 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        Alan Cox <alc@cs.rice.edu>
Cc:        Alan Cox <alc@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm vm_map.c
Message-ID:  <20020610071528.GJ88163@elvis.mu.org>
In-Reply-To: <20020610071411.GL17003@cs.rice.edu>
References:  <200206100611.g5A6BkG16910@freefall.freebsd.org> <20020610061849.GI88163@elvis.mu.org> <20020610071411.GL17003@cs.rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alan Cox <alc@cs.rice.edu> [020610 00:14] wrote:
> On Sun, Jun 09, 2002 at 11:18:49PM -0700, Alfred Perlstein wrote:
> > * Alan Cox <alc@FreeBSD.org> [020609 23:12] wrote:
> > >   Log:
> > >    o In vm_map_entry_create(), call uma_zalloc() with M_NOWAIT on system maps.
> > 
> > Are you sure that is correct?  Shouldn't we just propogate the WAIT
> > flag down from the higher level allocation rather than _always_
> > doing a NOWAIT allocation?
> > 
> 
> Yes, as sure as I (and Tor) can be.  Allocation of map entries
> for system maps should never be allowed to block.  This is not
> a new rule.  Prior to the UMA conversion, we had:
> 
>         zinitna(kmapentzone, &kmapentobj,
>                 NULL, 0, cnt.v_page_count / 4, ZONE_INTERRUPT, 1);

makes sense, thank you. :)

-- 
-Alfred Perlstein [alfred@freebsd.org]

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020610071528.GJ88163>