is ti possible to recompile kernel like linux ?

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

andrewweb
Posts: 263
Joined: Fri Jun 01, 2007 3:59 pm
Location: United Kingdom
Contact:

Re: is ti possible to recompile kernel like linux ?

Post by andrewweb »

Z98 wrote:That's not the case from my experience. It's entirely possible to strip out so much of the kernel that you need to do a recompile to get additional hardware support.
Indeed, I was going to switch to linux completely, but was scared away when I found I would HAVE to recompile the kernel just to support certain hardware I have.
cppm
Posts: 289
Joined: Wed May 02, 2007 10:03 pm

Re: is ti possible to recompile kernel like linux ?

Post by cppm »

Z98 wrote:That's not the case from my experience. It's entirely possible to strip out so much of the kernel that you need to do a recompile to get additional hardware support.
Also IIRC some drivers are designed such that they have to be compiled in. A given distro may need to make tradeoffs in what drivers they include, so as to avoid ones which cause problems...

On the flip side could including the drivers within the kernel improve the security situation?
andrewweb
Posts: 263
Joined: Fri Jun 01, 2007 3:59 pm
Location: United Kingdom
Contact:

Re: is ti possible to recompile kernel like linux ?

Post by andrewweb »

cppm wrote:
Z98 wrote:That's not the case from my experience. It's entirely possible to strip out so much of the kernel that you need to do a recompile to get additional hardware support.
Also IIRC some drivers are designed such that they have to be compiled in. A given distro may need to make tradeoffs in what drivers they include, so as to avoid ones which cause problems...

On the flip side could including the drivers within the kernel improve the security situation?
Perhaps. But it causes a lot of bloat.
Z98
Release Engineer
Posts: 3379
Joined: Tue May 02, 2006 8:16 pm
Contact:

Re: is ti possible to recompile kernel like linux ?

Post by Z98 »

cppm wrote:
Z98 wrote:That's not the case from my experience. It's entirely possible to strip out so much of the kernel that you need to do a recompile to get additional hardware support.
Also IIRC some drivers are designed such that they have to be compiled in. A given distro may need to make tradeoffs in what drivers they include, so as to avoid ones which cause problems...

On the flip side could including the drivers within the kernel improve the security situation?
Other way around. Drivers are very often the cause of bugs and instability because they're poorly written. Moving them outside the kernel into usermode or some such helps increase stability at the cost of performance.
andrewweb
Posts: 263
Joined: Fri Jun 01, 2007 3:59 pm
Location: United Kingdom
Contact:

Re: is ti possible to recompile kernel like linux ?

Post by andrewweb »

Z98 wrote:
cppm wrote:
Z98 wrote:That's not the case from my experience. It's entirely possible to strip out so much of the kernel that you need to do a recompile to get additional hardware support.
Also IIRC some drivers are designed such that they have to be compiled in. A given distro may need to make tradeoffs in what drivers they include, so as to avoid ones which cause problems...

On the flip side could including the drivers within the kernel improve the security situation?
Other way around. Drivers are very often the cause of bugs and instability because they're poorly written. Moving them outside the kernel into usermode or some such helps increase stability at the cost of performance.
Yep, in recent NT OSes, MS have tried to move a lot of drivers into usermode.
The big exception is Win32k, which is kernel mode simply to improve performance.
Post Reply

Who is online

Users browsing this forum: No registered users and 69 guests