lkml.org 
[lkml]   [1997]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Another crash with 2.1.42 + mmap patches
On Tue, 10 Jun 1997, David S. Miller wrote:
> Mark, we have some greater problems in 2.1.42 I have just found.
> For standard sized full ethernet frames (1500 bytes or so) skb's
> allocated via SLAB kmalloc() use enormous page orders for their
> I think we should (just for the general caches) limit the order to 2,
> _maybe_ 3. At least for now until we come up with a better fix.

I just put some printk()s into kmem_cache_create(), and they show the 2048
and 4096 general-caches use an order of 2 which certainly isn't enormous.
Were you using debugging support (ie. red-zoning) when you obtained your
figures? Perhaps there is a problem there....
Maybe you have 8196byte pages? I'll re-check the maths.

Reagrds,

markhe


-----------------------------------------------------
Mark Hemment UNIX/C Software Engineer (contractor)
"Success has many fathers. Failure is a b**tard"
-----------------------------------------------------








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