[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b8a9d250-81b2-0c0b-e1c6-57dbfa11be82@linux.intel.com>
Date: Wed, 18 Jul 2018 08:13:34 -0700
From: Dave Hansen <dave.hansen@...ux.intel.com>
To: "Huang, Ying" <ying.huang@...el.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Michal Hocko <mhocko@...e.com>,
Johannes Weiner <hannes@...xchg.org>,
Shaohua Li <shli@...nel.org>, Hugh Dickins <hughd@...gle.com>,
Minchan Kim <minchan@...nel.org>,
Rik van Riel <riel@...hat.com>,
Daniel Jordan <daniel.m.jordan@...cle.com>,
Dan Williams <dan.j.williams@...el.com>
Subject: Re: [PATCH v2 7/7] swap, put_swap_page: Share more between
huge/normal code path
On 07/17/2018 07:56 PM, Huang, Ying wrote:
> -.orc_unwind_ip 1380 0
> -.orc_unwind 2070 0
> -Total 26810
> +.orc_unwind_ip 1480 0
> +.orc_unwind 2220 0
> +Total 27172
>
> The total difference is same: 27172 - 26810 = 362 = 24577 - 24215.
>
> The text section difference is small: 17927 - 17815 = 112. The
> additional size change comes from unwinder information: (1480 + 2220) -
> (1380 + 2070) = 250. If the frame pointer unwinder is chosen, this cost
> nothing, but if the ORC unwinder is chosen, this is the real difference.
>
> For 112 text section difference, use 'objdump -t' to get symbol size and
> compare,
Cool, thanks for doing this!
I think what you've done here is great for readability and the binary
size increase is well worth the modest size increase.
Powered by blists - more mailing lists