lkml.org 
[lkml]   [2022]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 00/10] lib: cleanup bitmap-related headers
On Wed, Jul 6, 2022 at 10:42 AM Yury Norov <yury.norov@gmail.com> wrote:
>
> This series unifies declarations of bitmap-related functions and aligns
> return types with values that actually returned. Also, it moves one-liner
> wrappers around cpumask functions into headers, so that compiler has a
> chance to optimize better.
>
> With this series, GCC 11.2 for ARM64 with kernel v5.19-rc4:
> add/remove: 15/7 grow/shrink: 461/164 up/down: 14844/-4580 (10264)
>
> This +10K didn't surprise me because modern compilers are more aggressive
> in inlining, loop unrolling, and other techniques that increase size of
> the image.
>
> v1: https://lore.kernel.org/linux-mm/YsAzU3g2QpgmIGre@smile.fi.intel.com/T/
> v2: - Align whitespaces in headers;
> - Make bitmap_weight() unsigned long consistently;
> - Pick 2 patches from Ingo's sched/headers series [1] that split
> linux/gfp.h, and drop my similar patch for it.

Ping?

\
 
 \ /
  Last update: 2022-07-12 18:29    [W:1.291 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site