Re: [Patch 0/1] HW-BKPT: Allow per-cpu kernel-space Hardware Breakpoint requests

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Wednesday, August 26, 2009 - 2:16 am

* Frederic Weisbecker <fweisbec@gmail.com> wrote:


i'm not convinced at all we need all that layering of 
perfcounters->pmu->BP. Why not add BP support to the PMU abstraction 
and be done with it?

That way we get hardware breakpoints via 'pinned, exclusive, per cpu 
hw-breakpoint counters' for example and kernel/hw-breakpoint.c can 
go away altogether.

kernel/perf_counter.c already handles scheduling, conflict 
resolution, enumeration, syscall exposure and more.

Hm?

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [Patch 0/1] HW-BKPT: Allow per-cpu kernel-space Hardwa ..., Frederic Weisbecker, (Wed Aug 19, 10:33 am)
Re: [Patch 0/1] HW-BKPT: Allow per-cpu kernel-space Hardwa ..., Frederic Weisbecker, (Tue Aug 25, 8:36 pm)
Re: [Patch 0/1] HW-BKPT: Allow per-cpu kernel-space Hardwa ..., Ingo Molnar, (Wed Aug 26, 2:16 am)
Re: [Patch 0/1] HW-BKPT: Allow per-cpu kernel-space Hardwa ..., Frederic Weisbecker, (Wed Aug 26, 4:49 am)
Re: [Patch 0/1] HW-BKPT: Allow per-cpu kernel-space Hardwa ..., Frederic Weisbecker, (Tue Sep 1, 4:51 pm)