From: Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de>
To: Andrew Morton <akpm@digeo.com>
Cc: Kai Makisara <Kai.Makisara@kolumbus.fi>,
Douglas Gilbert <dougg@torque.net>,
Gerd Knorr <kraxel@bytesex.org>,
linux-mm@kvack.org
Subject: [PATCH] Really start using the page walking API
Date: Sun, 24 Nov 2002 23:34:49 +0100 [thread overview]
Message-ID: <20021124233449.F5263@nightmaster.csn.tu-chemnitz.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]
Hi all,
here come some improvements of the page walking API code.
First: make_pages_present() would do an infinite recursion, if
used in find_extend_vma(). I fixed this. Might as well have
caused the ntp crash, that has been observed.
So these make_pages_present parts are really important.
I also did the promised rewrite of make_pages_present() and its
users.
MM-Gurus: Please double check, that I always provide the right vma.
I also did two sample implementations (Kai and Doug, this is why
you are CC'ed) of the scatter list walking and removed ~100
lines of code while doing it.
Gerd: Your video-buf.[ch] is next on my list and I must coalesce
videobuf_pages_to_sg() and videobuf_init_user() to do it
efficiently. May be you can come up with a better solution for
this or are already working on sth. here. If not, I'll do it
my way first and wait for your approval ;-)
That's all for now. I omitted the patches, to make 2.5.49-mm1
compile, as usual.
Patch against 2.5.49-mm1 attached.
diffstat of this patch:
drivers/scsi/sg.c | 102 +++++++++----------------------------------
drivers/scsi/st.c | 109 ++++++++--------------------------------------
include/linux/mm.h | 2
include/linux/page_walk.h | 13 +++--
mm/mlock.c | 2
mm/mmap.c | 11 ++--
mm/mremap.c | 4 -
mm/page_walk.c | 83 ++++++++++++++++++++++++-----------
8 files changed, 119 insertions, 207 deletions
Regards
Ingo Oeser
--
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
[-- Attachment #2: page-walk-api-2.5.49-mm1-improvements.patch.bz2 --]
[-- Type: application/octet-stream, Size: 5070 bytes --]
next reply other threads:[~2002-11-24 22:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-24 22:34 Ingo Oeser [this message]
2002-11-25 7:37 ` Ingo Oeser
2002-11-25 13:10 ` Gerd Knorr
2002-11-26 8:40 ` Andrew Morton
2002-11-27 12:33 ` Douglas Gilbert
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=20021124233449.F5263@nightmaster.csn.tu-chemnitz.de \
--to=ingo.oeser@informatik.tu-chemnitz.de \
--cc=Kai.Makisara@kolumbus.fi \
--cc=akpm@digeo.com \
--cc=dougg@torque.net \
--cc=kraxel@bytesex.org \
--cc=linux-mm@kvack.org \
/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