Re: [PATCH] updated vfb.c

From: James Simmons (jsimmons@acsu.buffalo.edu)
Date: Wed Feb 09 2000 - 22:23:21 EST


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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:16 EST