Reply to post: Re: Moving out of the kernel to improve performance?

BBC bypasses Linux kernel to make streaming videos flow

anonymous boring coward Silver badge

Re: Moving out of the kernel to improve performance?

"excluding things like device drivers, which needed access to raw hardware and had to be in the kernel"

That's a misconception.

Obtaining initial access rights to hardware needs to be kernel-approved, but after that there is no reason a user space driver couldn't access the heck out of the hardware.

RAM is hardware as well, by the way, and I'm pretty sure user space code accesses it quite a lot.

It's to do with memory mapping and protecting all but certain memory regions from user mode access. This enforcement is all supported in hardware, and very fast.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019