lkml.org 
[lkml]   [1998]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: support for firmwares sizes up to 128000 bytes
On Tue, 22 Dec 1998, Alan Cox wrote:

> > Please apply this patch to support firmwares sizes up to 128000 bytes
> > in the wanrouter. This is needed for a sync card that we're developing
> > a wanrouter driver.
>
> I dont think so. You need to change to using vmalloc not kmalloc at
> this point too. Check the existing Sdla cards dont use DMA for the
> firmware (Im pretty sure they dont) - swap it for a vmalloc/vfree not
> a kfree then resubmit it.
>
> A 128K kmalloc isnt going to work

Ok, I know that, that's why I'm using up to 128000 bytes, not more than
131048 bytes :)

I also add that I'm beggining kernel programming, and I'm using the books
from Rubini and M. Beck et al, and both point outs the limit for kmalloc
at slightly less than 32 pages (128 KB on the Intel).

- Arnaldo

"These are questions for action,
not speculation, which is idle." - Noam Chomsky


-
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:46    [W:0.044 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site