From owner-svn-src-head@freebsd.org Sun Jan 14 17:14:53 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5B71E7B570; Sun, 14 Jan 2018 17:14:53 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pl0-x230.google.com (mail-pl0-x230.google.com [IPv6:2607:f8b0:400e:c01::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8141E782; Sun, 14 Jan 2018 17:14:53 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-pl0-x230.google.com with SMTP id d21so2087917pll.1; Sun, 14 Jan 2018 09:14:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mzmmiRTqez8Jy0dlz2V53Fb5dQPSHFbgwQ2O9IHf6os=; b=Sv31aRzbjYO/a0QuFl67anoDegXQ6S9VC0/H1UjpvyAzKgOT/q26zY0idPwTBCynw9 UiMzHBTWPlrjVQH5eBOEARBSH5E6ScvoIqdUk9VMrgmEss12ZrbTOvykFrk+QYEfGK44 u7tbYTh/T0RztN1VDJkvTpNHuRHQLfcgy33sHNhLxfYQD6OUAr0RRBHTBiY+RL2E97+o 9ULDL7G7pS9iVhtS5ITGvlQwN6fAPGhNOoxXHo82cjY/oxlOaRBjDW5DmSnIjH//GOIe Eb7VjYM0mmb3KDXmVr2VGIAQWBkivZObKZ2N1YBmLB4UET2dbO8460JL+oVddTQzJ3k8 tY1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=mzmmiRTqez8Jy0dlz2V53Fb5dQPSHFbgwQ2O9IHf6os=; b=oX8A4Sj9JNIfWPma3RHtBvLdt58y59wSweoLiHEOtsMb9W0sueizP29lJTFj0DPtdI uZzh1JazgnTjhckYKMZrwn47Do14wthBC5ePxs11OGpWYLULxiFuP2xgnlHhT2dWuSwT QZcjkRRpuUgBOoIyXXzVk3rZET/QiDmsg/N90nOWTz1jmvYAsCqKMXTMVduDRwiqeXEz AsEo7LFfMlcMNh5G4gfkcUmZ4aRVs2tiE2DzNhJ5vylltPD+1nfP05Zmn27vb4aAFNUG XqJODql7haCpEwMUNFtIuqlw4B0ZjxmW583dLEZJDsmwTp/A5CM+qbITxuZ2zd7t8auX ge4Q== X-Gm-Message-State: AKwxytdWjboi3O21lCnEGccRKKFbikc319yfQ3PUACYtfAE3qOPgwlnx K9BzOAEtDyH7rvv6//kEYybV7g== X-Google-Smtp-Source: ACJfBosa1GwnxVaShJvLLiC+H+4ExvO2LsWanVSjJ5KuV2ijwTejkAXeqNq6JMKM8HsZWkG4GTW64w== X-Received: by 10.159.242.9 with SMTP id t9mr11895032plr.201.1515950092425; Sun, 14 Jan 2018 09:14:52 -0800 (PST) Received: from raichu (toroon0560w-lp140-02-70-49-169-112.dsl.bell.ca. [70.49.169.112]) by smtp.gmail.com with ESMTPSA id b3sm25923875pga.24.2018.01.14.09.14.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jan 2018 09:14:51 -0800 (PST) Sender: Mark Johnston Date: Sun, 14 Jan 2018 12:14:48 -0500 From: Mark Johnston To: Pedro Giffuni Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r327949 - in head/sys/dev: aacraid advansys ath beri/virtio bnxt bwn ciss cxgbe/crypto esp fb gpio if_ndis iwi kbd liquidio liquidio/base mpr mps mpt mrsas mxge netmap nvme pst ral rp s... Message-ID: <20180114171448.GB89171@raichu> References: <201801132230.w0DMUVmF081985@repo.freebsd.org> <7fe2a0bb-8592-75bc-6f58-cb77e2d6044c@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7fe2a0bb-8592-75bc-6f58-cb77e2d6044c@FreeBSD.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jan 2018 17:14:53 -0000 On Sat, Jan 13, 2018 at 05:34:24PM -0500, Pedro Giffuni wrote: > > > On 01/13/18 17:30, Pedro F. Giffuni wrote: > > Author: pfg > > Date: Sat Jan 13 22:30:30 2018 > > New Revision: 327949 > > URL: https://svnweb.freebsd.org/changeset/base/327949 > > > > Log: > > dev: make some use of mallocarray(9). > > > > Focus on code where we are doing multiplications within malloc(9). None of > > these is likely to overflow, however the change is still useful as some > > static checkers can benefit from the allocation attributes we use for > > mallocarray. > > > > This initial sweep only covers malloc(9) calls with M_NOWAIT. No good > > reason but I started doing the changes before r327796 and at that time it > > was convenient to make sure the sorrounding code could handle NULL values. > > > For the record, this was part of > > https://reviews.freebsd.org/D13837 > > I didn't mention it in the commit log because I am not ready to close > the revision yet. Some developers have been using the "X-Differential revision:" tag in this case.