| Date | Fri, 30 Nov 2001 21:50:57 -0800 | From | Mike Fedyk <> | Subject | Re: Linux/Pro [was Re: Coding style - a non-issue] |
| |
On Fri, Nov 30, 2001 at 03:57:40PM -0800, Larry McVoy wrote: > Here's how you get both. Fork the development efforts into the SMP part > and the uniprocessor part.
Basically with linux, and enough #ifdef's you end up with both in one. IIUC
What would be nice is UP only drivers for initial release. Write a driver module that says "I'm made for UP and haven't been tested with SMP/HighMEM" so if you try to compile it with those features it would break with a helpful error message.
What would be interesting would be SMP with support for UP. The UP only module would be inserted into a SMP kernel, but would only work inside one processor, and would have source compatibility with both UP ans SMP kernels. No non-UP locking required.
Is something like this possible? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|