Re: [PATCH, RFC] kill odd mm context pinning hack in frv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Hellwig <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux