lkml.org 
[lkml]   [2000]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] updated vfb.c

On Wed, 9 Feb 2000, Alan Cox wrote:

> > I think kmalloc() is the best thing for vgb. Vfb is just meant to be a sample
> > driver, so the limitation to 128 KB is not that important. It's more important
> > that you can actually mmap() it from user space, which is not possible with
> > vmalloc().
>
> Its perfectly possible from user space. The tv card drivers do it

Looking threw code. I also looked to see if other drivers are using this
method. Yep! Some of the usb drivers. Their is code duplication here.
Instead of rewritten the code over and over perhaps we should place it
somewhere everyone can use it. Just a suggestion. I hate to rewrite the
same code over again just for my vfb driver. The question is do we place
it in mm/vmalloc.c or a seperate file.

Codito, ergo sum - "I code, therefore I am"
James Simmons (o_
fbdev/gfx developer (o_ (o_ //\
http://www.linux-fbdev.org (/)_ (/)_ V_/_
http://linuxgfx.sourceforge.net



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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