Re: [PATCH 6/6] x86: Allow disabling HW_BREAKPOINTS andPERF_EVENTS

From: Vince Weaver
Date: Tue Oct 08 2013 - 11:40:33 EST


On Tue, 8 Oct 2013, Ingo Molnar wrote:

> The base cost of perf is +151k - not small but a far cry from your claimed
> +700k ...

Things might get that bad if we enable full event lists in the kernel for
all of x86, as Power is starting to do.

The patch to add all Power7 events cfe0d8ba14a1d98245b371e486c68f37eba1ca52
increased kernel size by like 50k. Imagine 10 different x86 event tables
times 50k each and you're talking a big chunk of memory.

Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/