Re: [PATCH v2 7/11] Uprobes Implementation

From: Andi Kleen
Date: Thu May 13 2010 - 18:13:34 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:

> so arguably it would be good to just make the rule be that you cannot
> probe a shared mapping. Because whatever you do, it's always the wrong
> thing.

But isn't text usually shared? I don't see how you could set any
break points or jump probes on text pages with that restriction.

BTW there were old patches for NUMA text duplication, maybe they could
be resurrected for that too.

-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/