lkml.org 
[lkml]   [2002]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Memory problem with bttv driver
> > > > Yes.  Instead of remapping vmalloced kernel memory it gives you shared
> > > > anonymous pages, then does zerocopy DMA using kiobufs. You may run in
> > > > trouble with >4GB machines.
> > >
> > > Interesting.
> > > What's the problem on > 4GB ?
> >
> > The bt878/848 is a 32bit PCI device, it simply can't go DMA to main
> > memory above 4GB. At least on ia32, on architecures with a iommu
> > (sparc, ...) it should work without trouble.
>
> Sorry, maybe I should have clarified: what is the problem with allocating those
> pages below 4GB in a >4GB box?

do_anonymous_page() may give you pages above 4GB. Need to write my own
nopage handler to fix this.

Gerd

--
#define ENOCLUE 125 /* userland programmer induced race condition */
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:23    [W:1.346 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site