Re: [PATCH]: linux-2.5.30uc0 MMU-less patches

Dave Jones
2002-08-02T15:59:18Z

On Sat, Aug 03, 2002 at 01:54:26AM +1000, gerg wrote:

> > I didn't check the code in detail, but
> > is there really that little that can be shared between
> > the regular mm/ ?
> No, there is actually a lot in common. Probably something
> like 70%. This is really a question of organization.

That's what I guessed on just a cursory glance at the patch.

> I would much prefer to see the non-mmu support in with mm.
> But it would mean a few #ifdef's in there to allow for
> the differences.

Versus massive code duplication, I think the ifdef's would
be a better approach, especially if you can hide them away
in headers.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs