public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Ungerer <gerg@snapgear.com>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Christoph Hellwig <hch@infradead.org>, Alan Cox <alan@redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Linux 2.5.40-ac1
Date: Fri, 04 Oct 2002 09:44:07 +1000	[thread overview]
Message-ID: <3D9CD647.7000806@snapgear.com> (raw)
In-Reply-To: Pine.LNX.4.44L.0210031614030.1909-100000@duckman.distro.conectiva

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


  reply	other threads:[~2002-10-03 23:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-02 23:38 Linux 2.5.40-ac1 Greg Ungerer
2002-10-03 14:17 ` Christoph Hellwig
2002-10-03 14:20   ` Alan Cox
2002-10-03 14:51     ` Christoph Hellwig
2002-10-03 15:25       ` Alan Cox
2002-10-03 15:28         ` Christoph Hellwig
2002-10-03 15:31         ` Greg Ungerer
2002-10-03 19:16       ` Rik van Riel
2002-10-03 23:44         ` Greg Ungerer [this message]
2002-10-04  0:32           ` Rik van Riel
  -- strict thread matches above, loose matches on Subject: below --
2002-10-03 14:45 Manfred Spraul
2002-10-03 14:50 ` David S. Miller
2002-10-03 15:18   ` Manfred Spraul
2002-10-03 15:15     ` David S. Miller
2002-10-03 15:48     ` Alan Cox
2002-10-03 15:53       ` Manfred Spraul
2002-10-03 15:17 ` Alan Cox
2002-10-03 15:34   ` Manfred Spraul
2002-10-02 22:18 Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D9CD647.7000806@snapgear.com \
    --to=gerg@snapgear.com \
    --cc=alan@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox