Re: Advice on modifying Lavapipe to isolate JIT compilation in separate process

2023-04-27 Thread Dave Airlie
On Thu, 27 Apr 2023 at 15:18, Josh Gargus wrote: > > Thanks for your advice! I hadn't looked at Venus, but that seems like a very > promising place to start. > > The other approach feels more approachable now too; it feels like there are > less "unknown unknowns", although there are plenty of

Re: Advice on modifying Lavapipe to isolate JIT compilation in separate process

2023-04-27 Thread Jose Fonseca
Perhaps I'm getting confused with the terminology, but I don't think moving compilation to a separate process helps here. IIUC, compilation (as in LLVM IR -> x86 code) can happen anywhere, the problem is loading the JITed code (ie, make writeable memory executable.) As mentioned, there are

[ANNOUNCE] mesa 23.1.0-rc3

2023-04-27 Thread Eric Engestrom
Hello everyone, The third release candidate for 23.1.0 is now available. If you find any issues, please report them here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/new The next release candidate is expected in one week, on May 3rd. Cheers, Eric --- Charmaine Lee (2):

Re: Advice on modifying Lavapipe to isolate JIT compilation in separate process

2023-04-27 Thread Josh Gargus
Thanks Jose, You're right, compilation is just data transformation, the security issues arise when the process executes the generated code. I'm realizing that I don't *deeply* grok the mindset of our security folk; I'll have a talk with them. For example, the client process has the ability to