lkml.org 
[lkml]   [2014]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] lockdep: pack subclass/trylock/read/check into a single argument
On 01/21, Peter Zijlstra wrote:
>
> I tried the below but filed to see my vmlinux shrink, maybe I'm just not
> building the right kernel, or otherwise GCC is stupid.

...

> +struct lockdep_acquire_flags {
> + unsigned long subclass : 3;
> + unsigned long trylock : 1;
> + unsigned long read : 2;
> + unsigned long check : 1;
> +};

Yes, I tried this too. I do see the difference, but the result is worse:

- 5262832
+ 5256987

looks like, gcc is not smart enough...

Oleg.



\
 
 \ /
  Last update: 2014-01-21 19:41    [W:0.156 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site