From: Mark McClelland <mark@alpha.dyndns.org>
To: video4linux-list@redhat.com
Cc: Gerd Knorr <kraxel@bytesex.org>, linux-kernel@vger.kernel.org
Subject: Re: [V4L] [PATCH/RFC] videodev.[ch] redesign
Date: Mon, 11 Feb 2002 03:58:14 -0800 [thread overview]
Message-ID: <3C67B1D6.5020408@alpha.dyndns.org> (raw)
In-Reply-To: <20020209194602.A23061@bytesex.org> <3C65EFF4.2000906@alpha.dyndns.org> <20020210101130.A28225@bytesex.org> <3C666D98.70600@alpha.dyndns.org> <20020211105534.A4745@bytesex.org>
Gerd Knorr wrote:
>On Sun, Feb 10, 2002 at 04:54:48AM -0800, Mark McClelland wrote:
>
>>BTW, is there any chance for vmalloc() and pals to be moved to
>>videodev.c, or something higher-up?
>>
>
>What do you mean exactly? bttv's memory management code, which has
>been copied to various places, and which is now broken in 2.5.x due
>to virt_to_bus() being gone finally?
>
Sorry, I meant to type rvmalloc().
Many drivers (eg. USB webcam drivers), don't need virt_to_bus(). They
only need a way to allocate reserved pages that they can safely do
remap_page_range() on, for mmap().
>Some of this is work-in-progress. I'm talking to Dave to put some
>helper functions to handle DMA to vmalloced memory blocks to some
>sensible place within the kernel. If someone wants to have a look
>(not final yet): http://bytesex.org/patches/15_pci-2.4.18-pre8.diff
>
Thanks, that's exactly what I was looking for. pci_vmalloc_to_page()
should satisfy all of the USB drivers, if they override
vma->vm_ops->nopage().
--
Mark McClelland
mmcclell@bigfoot.com
prev parent reply other threads:[~2002-02-11 11:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 18:46 [PATCH/RFC] videodev.[ch] redesign Gerd Knorr
2002-02-09 20:53 ` Oliver Neukum
2002-02-09 20:53 ` Oliver Neukum
2002-02-09 20:44 ` Gerd Knorr
2002-02-10 0:32 ` Oliver Neukum
2002-02-10 8:34 ` Gerd Knorr
2002-02-10 2:03 ` [V4L] " Alan Cox
2002-02-10 8:59 ` Gerd Knorr
2002-02-11 21:10 ` [PATCH/RFC] videodev.[ch] redesign -- take #2 Gerd Knorr
2002-02-10 3:58 ` [V4L] [PATCH/RFC] videodev.[ch] redesign Mark McClelland
2002-02-10 9:11 ` Gerd Knorr
2002-02-10 12:54 ` Mark McClelland
2002-02-11 9:55 ` Gerd Knorr
2002-02-11 11:58 ` Mark McClelland [this message]
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=3C67B1D6.5020408@alpha.dyndns.org \
--to=mark@alpha.dyndns.org \
--cc=kraxel@bytesex.org \
--cc=linux-kernel@vger.kernel.org \
--cc=video4linux-list@redhat.com \
/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