Re: Another crash with 2.1.42 + mmap patches

Mark Hemment (markhe@sco.COM)
Wed, 11 Jun 1997 12:17:18 +0100 (BST)

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.



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