Re: Linux 2.5.40-ac1

From: Greg Ungerer (gerg@snapgear.com)
Date: Thu Oct 03 2002 - 18:44:07 EST


Hi Rik,

Rik van Riel wrote:
> On Thu, 3 Oct 2002, Christoph Hellwig wrote:
>
>>On Thu, Oct 03, 2002 at 10:20:03AM -0400, Alan Cox wrote:
>
>
>>>The two are so different I think that keeping it seperate is actually the
>>>right idea personally.
>>
>>Did you actually take a look? Many files are basically the same and other
>>are just totally stubbed out in nommu.
>
>
> So how about having one mm/ directory with:
>
> 1) the common stuff
> 2) the MMU stuff
> 3) the NOMMU stuff
>
> ... and some magic in Makefile to select which .c files to
> compile ?
>
> That should keep code duplication to a minimum.

Easy done. Would it bother anyone having a few files
named XYZ-nommu.c in there?

Although the sticking point may be the common files that
still contain a lot of ifdefs.

Regards
Greg

------------------------------------------------------------------------
Greg Ungerer -- Chief Software Wizard EMAIL: gerg@snapgear.com
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: www.SnapGear.com

-
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/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:42 EST