Arnaldo Carvalho de Melo
7b018e2987
perf map: Remove ->groups from 'struct map'
...
With this 'struct map' uses a bit over 3 cachelines:
$ pahole -C map ~/bin/perf
<SNIP>
/* --- cacheline 2 boundary (128 bytes) --- */
u64 (*unmap_ip)(struct map *, u64); /* 128 8 */
struct dso * dso; /* 136 8 */
refcount_t refcnt; /* 144 4 */
/* size: 152, cachelines: 3, members: 18 */
/* sum members: 145, holes: 1, sum holes: 3 */
/* padding: 4 */
/* forced alignments: 2 */
/* last cacheline: 24 bytes */
} __attribute__((__aligned__(8)));
$
We probably can move map->map/unmap_ip() moved to 'struct map_groups',
that will shave more 16 bytes, getting this almost to two cachelines.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-ymlv3nzpofv2fugnjnizkrwy@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-11-12 08:20:53 -03:00
..
2019-11-12 08:20:53 -03:00
2019-09-20 09:19:21 -03:00
2019-11-07 10:14:48 -03:00
2019-08-26 11:58:29 -03:00
2019-07-29 18:34:40 -03:00
2019-10-15 11:47:38 -03:00
2019-11-06 15:43:05 -03:00
2019-11-06 15:49:39 -03:00
2019-06-05 17:37:14 +02:00
2019-10-07 12:22:17 -03:00
2019-11-12 08:20:53 -03:00
2019-10-19 15:35:02 -03:00
2019-11-12 08:20:53 -03:00
2019-11-12 08:20:53 -03:00
2019-08-31 22:27:52 -03:00
2019-02-14 15:18:08 -03:00
2019-11-12 08:20:53 -03:00
2019-08-29 17:38:32 -03:00
2019-09-20 15:58:11 -03:00
2019-09-20 15:58:11 -03:00
2019-10-15 12:08:13 -03:00
2019-09-20 09:19:20 -03:00
2019-08-31 19:10:19 -03:00
2019-11-07 09:14:15 -03:00
2019-09-25 16:26:34 -03:00
2019-08-31 22:24:10 -03:00
2019-08-31 19:10:19 -03:00
2019-11-06 15:49:40 -03:00
2019-08-31 22:24:10 -03:00
2019-11-12 08:20:53 -03:00
2019-11-06 15:43:05 -03:00
2019-10-19 15:35:01 -03:00
2019-09-20 15:58:11 -03:00
2019-09-20 15:58:11 -03:00
2019-08-31 22:24:10 -03:00
2019-11-07 08:30:19 -03:00
2019-11-12 08:20:53 -03:00
2019-11-12 08:20:53 -03:00
2019-10-15 08:36:22 -03:00
2019-11-06 15:49:39 -03:00
2019-09-20 15:58:11 -03:00
2019-11-12 08:20:53 -03:00
2019-10-19 15:35:02 -03:00
2019-08-31 22:27:48 -03:00
2019-08-28 17:19:34 -03:00
2019-10-15 15:42:01 -03:00
2018-09-19 14:53:36 -03:00
2019-01-21 11:01:18 +01:00
2019-10-15 08:36:22 -03:00
2019-10-15 15:48:50 -03:00
2019-07-09 10:13:26 -03:00
2019-01-08 13:28:13 -03:00
2019-10-31 21:38:41 +01:00
2019-06-17 12:29:16 +02:00
2019-09-25 09:51:49 -03:00
2019-08-29 17:38:32 -03:00