[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rtl8139.c too memory hungry for mach.



Daniel Kobras <daniel.kobras@student.uni-tuebingen.de> writes:

> rtl8139.c by default tries to kmalloc() a 64K ring buffer, while the upper
> limit on kmalloc()s in the linux glue layer is 64K minus some overhead.
> The comments in linux/dev/glue/kmem.c sound like it's not trivial to
> cleanly raise this limit, so the best fix for now is probably to lower the
> default buffer size of the realtek driver in the gnumach sources. (On a
> quick glance through linux/src/drivers/net/*, rtl8139.c looks like the
> only network driver that actually hits the glue layer limit.)

Thank you for the patch; I've checked it in.

Thomas


Reply to: