[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140924105024.GW6758@twins.programming.kicks-ass.net>
Date: Wed, 24 Sep 2014 12:50:24 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: kan.liang@...el.com
Cc: eranian@...gle.com, linux-kernel@...r.kernel.org, mingo@...hat.com,
paulus@...ba.org, acme@...nel.org, ak@...ux.intel.com,
"Yan, Zheng" <zheng.z.yan@...el.com>
Subject: Re: [PATCH V5 01/16] perf, x86: Reduce lbr_sel_map size
On Wed, Sep 10, 2014 at 10:08:58AM -0400, kan.liang@...el.com wrote:
> From: Kan Liang <kan.liang@...el.com>
Uhm, I'm very sure Zheng Yan wrote this.. you cannot just add your from
on that.
>
> The index of lbr_sel_map is bit value of perf branch_sample_type.
> PERF_SAMPLE_BRANCH_MAX is 1024 at present, so each lbr_sel_map uses
> 4096 bytes. By using bit shift as index, we can reduce lbr_sel_map
> size to 40 bytes. This patch defines 'bit shift' for branch types,
> and use 'bit shift' to define lbr_sel_maps.
>
> Signed-off-by: Yan, Zheng <zheng.z.yan@...el.com>
> Reviewed-by: Stephane Eranian <eranian@...gle.com>
And you're sending me this patch, so I would have expected a SoB from
you here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists