Not logged in
Log in now
Create an account
Subscribe to LWN
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
Posted May 26, 2011 14:23 UTC (Thu) by bjacob (subscriber, #58566)
$ ls -l `find /lib/modules/ -name nvidia.ko`
-rw-r--r-- 1 root root 14827598 Apr 1 23:33 /lib/modules/2.6.32-5-amd64/nvidia/nvidia.ko
So do you think that NVIDIA's linux driver has a shader compiler in the kernel mode part?
Is there any reason why they would want to do that, as opposed to running the compiler in user mode?
Posted May 26, 2011 14:29 UTC (Thu) by bjacob (subscriber, #58566)
Posted May 26, 2011 16:53 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
I guess that they just ported Windows code to Linux without rearchitecting it. They might have moved parts of the compiler to usermode, but there's still a huge amount of code in the kernel.
Posted Jun 10, 2011 1:36 UTC (Fri) by johntb86 (subscriber, #53897)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds