Updated and improved page-walk API (was: 2.5.50-mm1)

From: Ingo Oeser (ingo.oeser@informatik.tu-chemnitz.de)
Date: Wed Dec 04 2002 - 19:03:26 EST


Hi Andrew,
hi list readers,

On Mon, Dec 02, 2002 at 10:48:00PM -0800, Andrew Morton wrote:
> A bugfix. (Ingo, the page-walk API probably needs updating for
> mm/nommu.c)

I don't know exactly which paths of the page-walk API are walked
by the nommu stuff.

The changes in mm/mmap.c and mm/mlock.c are really necessary,
even if you don't plan to apply this patch.

I implemented some comments from Kai, Doug, Gerd and you. I hope
the current implementation is now more valuable and correct.

If I need to implement the complete API also for nommu, then I
could also implement it for the vmalloc() space, because this is
nearly the same, what do you think?

This time I could only check compilation, because gcc 2.95.2 has problems
compiling fs/readdir.c and I had to back it out, leaving an unusable kernel
behind.

diffstat:

 drivers/scsi/sg.c | 57 +++++++++---------------
 drivers/scsi/st.c | 56 +++++++++++------------
 drivers/scsi/st.h | 3 +
 include/linux/page_walk.h | 15 ++++--
 mm/mlock.c | 2
 mm/mmap.c | 4 -
 mm/nommu.c | 18 ++++++-
 mm/page_walk.c | 108 ++++++++++++++++++++++++++++++++++------------
 8 files changed, 163 insertions, 100 deletions

Patch against 2.5.50-mm1 is attached.

Thanks for your efforts!

Regards

Ingo Oeser

-- 
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth


- 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 : Sat Dec 07 2002 - 22:00:20 EST