Messages in this thread | | | From | Mike Shaver <> | Subject | Re: L1/L2 Cache Coloring from Userland ? | Date | Fri, 19 Sep 1997 00:51:19 -0400 (EDT) |
| |
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
| |