Re: [PATCH 1/5] x86, perf: Fix LBR call stack save/restore

From: Andi Kleen
Date: Wed Oct 21 2015 - 10:35:40 EST


> Any idea who much more expensive that wrmsr() is compared to the rdmsr()
> it replaces?

I don't know.
>
> If its significant we could think about having this behaviour depend on
> callstacks.

This function is only used for callstacks, otherwise it uses the LBR reset
path.

-Andi


--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/