Messages in this thread | | | Subject | Re: [PATCHv11 2.6.36-rc2-tip 3/15] 3: uprobes: Slot allocation for Execution out of line(XOL) | From | Peter Zijlstra <> | Date | Mon, 06 Sep 2010 20:28:03 +0200 |
| |
On Mon, 2010-09-06 at 23:29 +0530, Srikar Dronamraju wrote: > > The current approach limits the number of probes to what fits in a page. > > The slot per cpu approach will have no such limit. > > > yes the limit on number of probes is a limitation. For now the > implementation would be straight and easy. We could either rework on the > algorithm or add more pages depending on how often uprobes gets used.
Right, but with the proposed slot-per-cpu we'd be able to have unlimited active probes within that single page, even with boosted probes, assuming 16 bytes per instruction:
push reg mov reg,foo insn pop reg jmp
and cacheline alignment we'd end up with 128 bytes per slot, we can service 32 cpus per page. Which, for now, means that all my machines need but a single page.
| |