From owner-svn-src-all@freebsd.org Wed Jan 24 19:01:17 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BFFDEBF132 for ; Wed, 24 Jan 2018 19:01:17 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from sonic307-17.consmr.mail.bf2.yahoo.com (sonic307-17.consmr.mail.bf2.yahoo.com [74.6.134.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AEF6E71D06 for ; Wed, 24 Jan 2018 19:01:16 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1516820476; bh=8eEUqp88QIXBRGyyaKzraP9CPOmrSr6y5PpQbQUf9AA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From:Subject; b=dE+wG2gHvklGZxdcRepN5hwSL+XlpFF+A0SjN0EFu3hyTfMAE0RqdN4QC7iQMqcX5NIT2mq8bW3NDkHFbvrNpIQOFQYFpgAwDcsxJXkwj0kyDCxh/YAP9gprQyWxTzaQB84/exOPDN1qOcpRWogE5xOLFzlU8yVvpPXLBsXWOORVZv/FZa23CGKKl3AJEtTzENH/lGQM6jMY3le49iSbPij8SQX0utv1WnZFpHuuYspiR7KLmMZSeac/eK9H8klB/2qRAXw389Cdm+112OCPrTPDlNQ6mTk3nS5uvf+dYehhVlFsc3orkYVQ4ghO8iXZwaeZY/EhbKYw7GTW1hrrpA== X-YMail-OSG: tVKcFqsVM1md7Pr8O1oNWodjO385tKcxAAq6jn8MG6KXTqkuhghkITzxlZU0080 tjiIjlO1iAg_Wz.x74dQ1zleuxGOoXuccWye0QmWCNvSfLjHv2_InNCJ0J.kwALXgOmg83K.Ztt8 Ry4jVqc6doJJ0faspfCvfCNTcZNcIbnDWq6tu16Rd00R1MyYgdsj.AR4sZXc_1_Q3ppauwXMx5AB vPfNWdDpYsPv.UYWqpB71YT8w1PTwIbHr1nEW6DYmxykucS08hIkGiGkB_pGwkdvnuV3T.h6Negg jt5jUoQ0.PIPV_YufxzQSw0I4PQO2R1b91tVwE3GidQw0WDDA1mP0xOYfXa.6hqjoVTSilJ4qtBl htcjCswhhvd_FBACWDK5sEDJlYyvDPSjp6W_Krf2s75JxScPoTwgYSibDkaZn6P_gGMN5Jgx__Bz 6csXQ1UnwvcNOlfwIK7rvUhCMwjpDcq4TzlZryxdVJydd0.IhxYdOQVOm2ScmAkCL8uEki_FxHuO nYep1asDBPg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Wed, 24 Jan 2018 19:01:16 +0000 Received: from smtpgate102.mail.bf1.yahoo.com (EHLO [192.168.0.8]) ([72.30.28.113]) by smtp404.mail.bf1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID cb225daf5bf9a0b2ebc75a9128af1e4d; Wed, 24 Jan 2018 18:51:08 +0000 (UTC) Subject: Re: svn commit: r328218 - in head/sys: amd64/amd64 arm/xscale/ixp425 arm64/arm64 cam cam/ctl compat/ndis dev/aacraid dev/advansys dev/ath dev/beri/virtio dev/bnxt dev/bwn dev/ciss dev/cxgbe/crypto dev/... To: Hans Petter Selasky , Warner Losh , "Conrad E. Meyer" Cc: Ian Lepore , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201801211542.w0LFgbsp005980@repo.freebsd.org> <51ff8aef-5660-7857-e4d5-12cdc77bc071@FreeBSD.org> <20180124182548.X1063@besplex.bde.org> <1516817048.42536.182.camel@freebsd.org> <2aa48cbd-247a-66cd-b486-02ee77ec2e96@selasky.org> From: Pedro Giffuni Organization: FreeBSD Project Message-ID: Date: Wed, 24 Jan 2018 13:51:07 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <2aa48cbd-247a-66cd-b486-02ee77ec2e96@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 19:01:17 -0000 On 24/01/2018 13:40, Hans Petter Selasky wrote: > On 01/24/18 19:28, Warner Losh wrote: >> Does mallocarray(10 ,1Gb) panic on i386? It does not. It should. > > Hi, > > If M_WAITOK is specified, then sleep forever and print a message. > Else return NULL ? > FWIW, I suggested a panic for M_WAITOK and returning NULL for M_NOWAIT, but cem didn't like it because it was inconsistent. I think the current argument is more about the size/trigger than the behavior though. Cheers, Pedro.