lkml.org 
[lkml]   [1997]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: L1/L2 Cache Coloring from Userland ?
Date
Thus spake Ralf Baechle:
> > A virt_to_phys syscall for userspace ought to be doable.
>
> Some of the IRIX stuff needs that, so we're going to implement that
> syssgi() operation too. Unless Miguel has already ...

/* The syssgi commands supported thus far. */
[...]
#define SGI_PHYSP 1011 /* Translate virtual into physical page. */

I think davem did it, actually. It's about 25 lines of code.

Mike

--
#> Mike Shaver (shaver@ingenia.com) Ingenia Communications Corporation
#> Commando Developer - Whatever It Takes
#>
#> "See, you not only have to be a good coder to create a system like
#> Linux, you have to be a sneaky bastard too." - Linus Torvalds

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.033 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site