Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH, RFC] kill odd mm context pinning hack in frv | Date | Thu, 11 Aug 2005 18:57:43 +0100 |
| |
Christoph Hellwig <hch@lst.de> wrote:
> David, is that more than a debugging aid? I'm trying to get rid of > tasklist_lock users and this one looks really suspicios..
Yes. The FR451 CPU (the only one with an MMU at the moment) has accounting and profiling aids that are enabled by the context number set in the CXNR register. This context number also selectively enables TLB entries on a per-mm context basis.
So to profile a process you pin a context number to that process, and then the profiling h/w is only active for that process.
David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |