From owner-svn-src-head@freebsd.org Mon Jan 8 15:58:22 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 0D88BE7410C for ; Mon, 8 Jan 2018 15:58:22 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from sonic312-35.consmr.mail.ne1.yahoo.com (sonic312-35.consmr.mail.ne1.yahoo.com [66.163.191.216]) (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 D6DC781C59 for ; Mon, 8 Jan 2018 15:58:21 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1515427100; bh=yAzStCyWs8ONtL+8q4Nxb5AoFkj+V+evVoU8JrYSGVg=; h=Subject:From:To:References:Date:In-Reply-To:From:Subject; b=dmRX50hmw9xdaTe75Xu4xZafRYW6WvXZ0S38tg/U1oL1unOmhzIDQrR23xEPK24AVD/AiLYRlMrUHQHYtgCzGcRTy6TlRq3cNVenim6dnZtjgzfTrx6HSLAU0hnK+W+nwp+ntADCvKSO5P4EE5bkYDoYOXTvcQgIB7FFPiJ+OhoJ3Df6O1aQPQUeMpFyEmXHNQCrzvNMxak+3nhtqjtrj+stuUQFV7Xe6hENtFwo+TB/Mtw4BDJLO+kEAYLjgcWQ8rNa4J2UjZPwc3uwdLnUoBZhDw9jidzg/YnazxhVdykrcKWG3WOfvTItuQbCA6YzktiemlUx5BVcha7Lp6DW9A== X-YMail-OSG: KYFlW.YVM1mPY6R7By2zeBKxgkMBCj6pcYUIX541P0aXisX7lPJtQSVHjPl_2pu aNh6pMmI4s7ofI2SjR2gD4aoirJZGzHP9Pgy9ktESJXrFdeuaSqPHk5pn1eiB_Ro55aMhPQdVy7k XrdKSBtz0TeZndZS58dhxA029FjULHUDgXCTjRvtE2p6.F87e4dJK58nmE5wGQMVlXiPRWsyUB.4 UL_Y9TRtuVrE10fXXKLtXPaaBCERwDbz94WmQ9X0VwtBuQlWLOpq35RTcVKcgPNojMq58aRns_34 lI8y2eBT2q8Krk_B7g_rC3A36aOInTXQMHy0h9WxnrjAX2ESCp6uJzctEbMXKKPCdss_tcDsyG4z 5CUPqk77TfsTBcCGp8zllgKNHTnH1nFle3xOMghmjCQQ3UjShfZH97NeY7tdjImS_3Kx3xXXMWTD D3NJWkpq9P9a53QO9vfiTbKHyDrB98TiV0hoif3MKvGj7RcqKJsaW9sL5nJy_1N6BFqMBLbur Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Mon, 8 Jan 2018 15:58:20 +0000 Received: from smtpgate103.mail.ne1.yahoo.com (EHLO [192.168.0.6]) ([216.155.193.162]) by smtp401.mail.ne1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID ae7b781f65a9251b0c615b8e61e02acf; Mon, 08 Jan 2018 15:58:16 +0000 (UTC) Subject: Re: svn commit: r327697 - head/sys/sys From: Pedro Giffuni To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201801081541.w08Ffmm0052729@repo.freebsd.org> Message-ID: Date: Mon, 8 Jan 2018 10:58:16 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <201801081541.w08Ffmm0052729@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US 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: Mon, 08 Jan 2018 15:58:22 -0000 On 01/08/18 10:41, Pedro F. Giffuni wrote: > Author: pfg > Date: Mon Jan 8 15:41:48 2018 > New Revision: 327697 > URL: https://svnweb.freebsd.org/changeset/base/327697 > > Log: > malloc(9): drop the __result_use_check attribute for the kernel allocator. > > The __result_use_check attribute was brought to the kernel malloc in > r281203 for consistency with the userland malloc. > > For the case of the M_WAITOK flag, the kernel malloc(), realloc(), and > reallocf() cannot return NULL so in that case the __result_use_check > attribute makes no sense. Bah ... I misinterpreted the attribute (hate it when that happens) reverted in r327697, sorry for the code churn. Pedro.