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