From owner-svn-src-head@freebsd.org Fri May 4 16:14:17 2018 Return-Path: Delivered-To: svn-src-head@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 7E343FB13DA; Fri, 4 May 2018 16:14:17 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f48.google.com (mail-it0-f48.google.com [209.85.214.48]) (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 1C3F97C55E; Fri, 4 May 2018 16:14:16 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f48.google.com with SMTP id f65-v6so3992897itd.3; Fri, 04 May 2018 09:14:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=egYJmxFge7teY5kISE9BeoqDdCRisZGiSmA6c2QWN38=; b=CnlFqX33cdVDh7TUawx1YqXiGEZz7p/x1FwcoJmbZVwn/1IbNVoqnz9lKs6W0XelzV Aw9X3bOTuO/tx/pO1jNXS5HTQq3ComVGGwRYhf+JgUt54t6N3h37WCn9zaq6PNha3hJR TmBoFFdRPLdr5eExf805nYU3w3nqU+9zkSFIXwzjslGtjmGti5guUG1Fsewf3eWNafgl Vgo3RX1zhJulcqjBTmLmeMPjGjNfyO+pZhUw/p6cML8ZqUChhFmgYTqwfdoRodrdiD8D 0nY+tbuwmAOIRx50A/VIKZPuFtxK0rokwWuLQZmcmlWdIPnW+/o7u73Ux6FeSld0F4tQ NvuA== X-Gm-Message-State: ALQs6tCz7q3K/0J2hVg9lgvCD+AmOOXMoHuC/2hyQ8AJz0zxNsz5JXrx PFpY0wk//hIRdSABP336tu1Y7fSa X-Google-Smtp-Source: AB8JxZrxNkMnsr+/7UCD/vwLOZ+j7am9qDVzY7XDJDuc7bQ/oWOwDZoGiKYTOobPdcWGkxti2d05iQ== X-Received: by 2002:a24:f983:: with SMTP id l125-v6mr27910218ith.96.1525450455813; Fri, 04 May 2018 09:14:15 -0700 (PDT) Received: from mail-io0-f172.google.com (mail-io0-f172.google.com. [209.85.223.172]) by smtp.gmail.com with ESMTPSA id g1-v6sm1213746itg.27.2018.05.04.09.14.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 May 2018 09:14:15 -0700 (PDT) Received: by mail-io0-f172.google.com with SMTP id e20-v6so26258066iof.4; Fri, 04 May 2018 09:14:15 -0700 (PDT) X-Received: by 2002:a6b:da04:: with SMTP id x4-v6mr30213490iob.19.1525450455588; Fri, 04 May 2018 09:14:15 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 2002:a02:a40b:0:0:0:0:0 with HTTP; Fri, 4 May 2018 09:14:15 -0700 (PDT) In-Reply-To: <20180504155301.GA56280@spindle.one-eyed-alien.net> References: <201805040400.w4440moH025057@repo.freebsd.org> <20180504155301.GA56280@spindle.one-eyed-alien.net> From: Conrad Meyer Date: Fri, 4 May 2018 09:14:15 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r333240 - in head/sys: powerpc/powerpc sys To: Brooks Davis Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" 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: Fri, 04 May 2018 16:14:17 -0000 On Fri, May 4, 2018 at 8:53 AM, Brooks Davis wrote: > On Fri, May 04, 2018 at 04:00:48AM +0000, Mateusz Guzik wrote: >> Author: mjg >> Date: Fri May 4 04:00:48 2018 >> New Revision: 333240 >> URL: https://svnweb.freebsd.org/changeset/base/333240 >> >> Log: >> Allow __builtin_memmove instead of bcopy for small buffers of known size > > What is the justification for forcing a size rather than using the > compiler's built-in fallback to memmove? Is the kernel compilation > environment disabling that? Yes. I think the compiler can't use its builtin bcopy() in standalone mode.