From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44A2FA00BE; Fri, 1 Nov 2019 22:33:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8522A1E871; Fri, 1 Nov 2019 22:33:43 +0100 (CET) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 152331E86F for ; Fri, 1 Nov 2019 22:33:41 +0100 (CET) Received: by mail-pf1-f193.google.com with SMTP id x195so4412792pfd.1 for ; Fri, 01 Nov 2019 14:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oR89ewjSk4IZRh5x9cpG3BDa1FPJX+/9oVQzczKWlV8=; b=A/TXruQVFWz3Y5odwes3aKpLLEH4i888ZfO8Vp/G7VKZTyb6PRbGtOCWqVzNyO0/26 6hrW+pYNOe/0EJEUi7Esa9HpwogRcLAvQF7tqUuX7SbqZCs1iNsF1EG3ATXtZghh7ATO XRroaA+21y8Q2zsaIlhCFKqnW3NuNvXznUyr+EK0n0xkO5PSRKcOan0m77pF9fotmZ8B E0CXpSeUdJk9WnDURtJ8d4oUeoFt1XUjloGqyEF4SzwDB9SCjj/wJcH3a22uIHu0oTw1 6rNtPxfEi7hNE5u2y7oqPR7hqMfjGvd+aiNta/LpOxdkIqp7mbg9xB4dKqPuGkwP3Kt4 zUiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oR89ewjSk4IZRh5x9cpG3BDa1FPJX+/9oVQzczKWlV8=; b=nioBxaC5JH5BdxAe0ZiJ/uUv8LOTH7AvY9nKGKnlHmINT0SH+OHmFtNypZFkooa0ep wop2j+qUmTx0XVsZPOpSLyck/7jzbbq8w5f3btnXNV4ST41WDp/YayuhZUOde1enCYSP SwvZXEn+SbTTrpyk3xwiPpwvfNVcNh+Jm0bT6d+sMzpf65rz9MdKlPjcK0PJo1l+M5sW BntuQaJk/9U5c9JM709PRPYBAIubO9nsKNqf/oHyW8cLYgf09dXJac2PwcZaegbueRuj XvRJl/dxwKtgGk+vtUYFVaBpv92eUvho8VpKbZ9Nrh9g1Cj9Dmz6W6SSq67c66jQ7Mvt e02Q== X-Gm-Message-State: APjAAAULHzjTImgjDj68eYOQzrJ+7fBtuyG8ck+mPUyW+VpdchtbWJeC Nn5tiuVHqkYT8+bqIRRSbTwLrA== X-Google-Smtp-Source: APXvYqxPY+BQX7UMVQDyeyCjHMIc0FFb1ywCTDgi8rEdpmvJ7rvBmZqGqv84jmT8TkYKx46vdWea6w== X-Received: by 2002:a17:90a:b78d:: with SMTP id m13mr18435763pjr.70.1572644019829; Fri, 01 Nov 2019 14:33:39 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id z63sm7350115pgb.75.2019.11.01.14.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2019 14:33:39 -0700 (PDT) Date: Fri, 1 Nov 2019 14:33:31 -0700 From: Stephen Hemminger To: Andrzej Ostruszka Cc: dev@dpdk.org, mattias.ronnblom@ericsson.com Message-ID: <20191101143331.2757599b@hermes.lan> In-Reply-To: <20190917075754.8310-1-amo@semihalf.com> References: <20190917075754.8310-1-amo@semihalf.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 00/10] Add an option to use LTO for DPDK build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On a relate topic. Last time, tried build a DPDK application using -fwhole-program gcc gave lots of warnings because it decided not to inline rte_memcpy. Perhaps this might impact LTO as well. Really rte_memcpy_func should not be inline. We already optimize for the constant size case where inline makes sense. After that not so much.