From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932571AbcIAVRh (ORCPT ); Thu, 1 Sep 2016 17:17:37 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:55848 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752570AbcIAVR3 (ORCPT ); Thu, 1 Sep 2016 17:17:29 -0400 X-AuditID: cbfec7f4-f79cb6d000001359-cb-57c8602e96a2 Subject: Re: [PATCH 1/2] clk: samsung: exynos5260: Move struct samsung_cmu_info to init section To: Chanwoo Choi References: <1471834185-20249-1-git-send-email-cw00.choi@samsung.com> <1471834185-20249-2-git-send-email-cw00.choi@samsung.com> Cc: tomasz.figa@gmail.com, mturquette@baylibre.com, sboyd@codeaurora.org, kgene@kernel.org, k.kozlowski@samsung.com, chanwoo@kernel.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org From: Sylwester Nawrocki Message-id: Date: Thu, 01 Sep 2016 19:06:52 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-version: 1.0 In-reply-to: <1471834185-20249-2-git-send-email-cw00.choi@samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOLMWRmVeSWpSXmKPExsVy+t/xq7p6CSfCDRpu6lhMvHGFxeL6l+es Fq9fGFr0P37NbLHp8TVWi48991gtLu+aw2Yx4/w+JouLp1wtfpzpZrFYtesPowO3x/sbrewe l/t6mTx2zrrL7rFpVSebx+Yl9R59W1YxenzeJBfAHsVlk5Kak1mWWqRvl8CVcXrHKcaCxVwV az8tZ2xg7OPoYuTkkBAwkdhy8jQLhC0mceHeerYuRi4OIYGljBKtt86xQjjPGSUuLT3JDFIl LJAo8ejZRSYQW0RAQ2Lm3yuMEEWNjBLHrr1iB3GYBfqZJJYtes0OUsUmYCjRe7SPEcTmFbCT 2NJ7F2wSi4CqxP81e8FsUYEIiVurPkLVCEr8mHwP7CZOATeJWzsvANVwAA3Vk7h/UQskzCwg L7F5zVvmCYwCs5B0zEKomoWkagEj8ypG0dTS5ILipPRcQ73ixNzi0rx0veT83E2MkOj4soNx 8TGrQ4wCHIxKPLwcRifChVgTy4orcw8xSnAwK4nwssUDhXhTEiurUovy44tKc1KLDzFKc7Ao ifPO3fU+REggPbEkNTs1tSC1CCbLxMEp1cCYbVsUxcQ3/T7Pjbd/08+dufffIorLSOrxq/8y ewJfH3soGrlOV/2T08e3v0S6Hor7cngfm/P17ux6Q6ldsl9+3jf8I27BXDVJRquU44lDFc8i +dYNClzbHH+EsFdI9Bxd/13KXLskyD3q4xv2P74HL8daMi7qYgzdONnlrM/l5vN2keZ7WBYo sRRnJBpqMRcVJwIAHoSBD4oCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/22/2016 04:49 AM, Chanwoo Choi wrote: > This patch moves the all samsung_cmu_info struct to initconst section > because they are used only in initconst section. > > Signed-off-by: Chanwoo Choi Applied with the commit message changed as below, thanks. --------8<-------- clk: samsung: exynos5260: Move struct samsung_cmu_info to init section This patch moves the samsung_cmu_info struct instances to initconst section, this decreases the kernel image size by 784 bytes, which makes zImage smaller by 480 bytes. The patch increases .init.rodata section size by 780 bytes but decreases .init.text section size by 1564 bytes. Size of the drivers/clk/samsung/clk-exynos5260.o object file is 29100 bytes without the patch and 28316 after applying the patch. The section size differences are as below: 15c15 < 3 .init.text 000006b8 00000000 00000000 00000034 2**2 --- > 3 .init.text 0000009c 00000000 00000000 00000034 2**2 25c25 < 8 .init.rodata 00003f6c 00000000 00000000 00002f20 2**2 --- > 8 .init.rodata 00004278 00000000 00000000 00002904 2**2 Signed-off-by: Chanwoo Choi Signed-off-by: Sylwester Nawrocki --------8<--------