Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4833573ybp; Mon, 7 Oct 2019 14:52:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqygkQFx19Sx1Ju68KrZUxv+RkiPVx9Bjerx/OfMQtYbMtRgxcZk5xLVqf8TM01N9ayJVfkQ X-Received: by 2002:a17:906:c822:: with SMTP id dd2mr25361635ejb.165.1570485123529; Mon, 07 Oct 2019 14:52:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570485123; cv=none; d=google.com; s=arc-20160816; b=gqRV31Ztl832OxaGHKRIeNRiU5qqoM3TF5O189w7zwlLJAg6liUwRvHCsW1KK7xUos BNaUsJep4ClvKMvesOPgd+DzHdm4yKfGHuqxm4rMr6ifwXHyWUJYqkH3ls4fxu9Q2fzz p5cBEun+rf9Xys//q4CmYS6ab2++/eg0ROiIfxqt7yGsrLl/Z5OiKGHIEoGIwBIIWvmn ugSdJUN9ugqHueCRKIkfv1MmbEsr+tfn6g2kpUlKgbQXWKhuv2zNiQGkAdeSH4biPFNZ pX8MUJhS5sISb9nx5gAF+Pd+h6evFt70SmteuTz4tMF1Dc59dOutYPZirX+GYRp3/KVa rdTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version; bh=ZCg0WZAzfbZaiW0O8I6kNIZZgUI0e7eXSKCF+hQ6fCs=; b=drv8fcdc54eSXvCNTVfO48tySF1ayZGFfSTlCdtSaI9Z+OKVbHTv7KdCGOgXYB15FG mSO1XHfsnKOk259ebBI24M5Kdcvu6M+kIuqi44NRK59tTbrllvBW9Q8RcwOQGEE5Ihnf j/9bbbtOTUC91uBhLmYIjGMpVBZUAtKw4oVYLpVmABaOe52H783C0TQEOCaXjSZ8WOoU O1T3fxEXlYF8irojt4N6JoI084DIIseYo0qH7rhFFbx2wtOHXk+WirT1vAE3BLypI8YK aDwxExAAITq+rKHftB1OXjRu25BSN1QYmGq9T4y3rhS6Qv3xN1eA8piUXh3IgdcO8VVD c/LQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c19si10670909ede.360.2019.10.07.14.51.39; Mon, 07 Oct 2019 14:52:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729375AbfJGVtv convert rfc822-to-8bit (ORCPT + 99 others); Mon, 7 Oct 2019 17:49:51 -0400 Received: from mail.fireflyinternet.com ([109.228.58.192]:51495 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728422AbfJGVtu (ORCPT ); Mon, 7 Oct 2019 17:49:50 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 18757211-1500050 for multiple; Mon, 07 Oct 2019 22:49:45 +0100 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Colin King , Daniel Vetter , David Airlie , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org From: Chris Wilson In-Reply-To: <157046537209.5063.10118308844290609426@skylake-alporthouse-com> Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191007154151.23245-1-colin.king@canonical.com> <157046537209.5063.10118308844290609426@skylake-alporthouse-com> Message-ID: <157048498331.8520.2832276261708225981@skylake-alporthouse-com> User-Agent: alot/0.6 Subject: Re: [PATCH] drm/i915: make array hw_engine_mask static, makes object smaller Date: Mon, 07 Oct 2019 22:49:43 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Chris Wilson (2019-10-07 17:22:52) > Quoting Colin King (2019-10-07 16:41:51) > > From: Colin Ian King > > > > Don't populate the array hw_engine_mask on the stack but instead make it > > static. Makes the object code smaller by 316 bytes. > > > > Before: > > text data bss dec hex filename > > 34004 4388 320 38712 9738 gpu/drm/i915/gt/intel_reset.o > > > > After: > > text data bss dec hex filename > > 33528 4548 320 38396 95fc gpu/drm/i915/gt/intel_reset.o > > > > (gcc version 9.2.1, amd64) > > > > Signed-off-by: Colin Ian King > Reviewed-by: Chris Wilson And pushed, thanks for the patch. -Chris