lkml.org 
[lkml]   [2005]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH, RFC] kill odd mm context pinning hack in frv
Date
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/

\
 
 \ /
  Last update: 2005-08-11 20:01    [W:0.039 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site