From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 12 23:36:18 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5B8C34A; Mon, 12 Nov 2012 23:36:18 +0000 (UTC) (envelope-from alc@rice.edu) Received: from mh2.mail.rice.edu (mh2.mail.rice.edu [128.42.201.21]) by mx1.freebsd.org (Postfix) with ESMTP id B076D8FC0C; Mon, 12 Nov 2012 23:36:18 +0000 (UTC) Received: from mh2.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh2.mail.rice.edu (Postfix) with ESMTP id 3250D500127; Mon, 12 Nov 2012 17:26:33 -0600 (CST) Received: from mh2.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh2.mail.rice.edu (Postfix) with ESMTP id 2EE69500125; Mon, 12 Nov 2012 17:26:33 -0600 (CST) X-Virus-Scanned: by amavis-2.7.0 at mh2.mail.rice.edu, auth channel Received: from mh2.mail.rice.edu ([127.0.0.1]) by mh2.mail.rice.edu (mh2.mail.rice.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id EdZfd6T4rOWB; Mon, 12 Nov 2012 17:26:33 -0600 (CST) Received: from [10.212.194.246] (unknown [10.212.194.246]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh2.mail.rice.edu (Postfix) with ESMTPSA id 0DB5950011C; Mon, 12 Nov 2012 17:26:33 -0600 (CST) Message-ID: <50A185B0.3030309@rice.edu> Date: Mon, 12 Nov 2012 17:26:40 -0600 From: Alan Cox User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Adrian Chadd Subject: Re: Memory reserves or lack thereof References: <20121112133638.GZ73505@kib.kiev.ua> <1352755682.93266.YahooMailClassic@web181701.mail.ne1.yahoo.com> <20121112214808.GH73505@kib.kiev.ua> <50A181C9.7030209@rice.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: StevenSears , alc@freebsd.org, "freebsd-hackers@freebsd.org" , Sushanth Rai , pho@freebsd.org, Konstantin Belousov X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 23:36:19 -0000 On 11/12/2012 5:24 PM, Adrian Chadd wrote: > .. wait, so what exactly would the difference be between M_NOWAIT and M_WAITOK? Whether or not the allocation can sleep until memory becomes available.