[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BSD network memory allocation bug
- Date: Fri, 21 May 1999 21:39:23 -0700
- From: gumby at zembu.com (D. V. Henkel-Wallace)
- Subject: BSD network memory allocation bug
At 14:18 21-05-99 -0400, Quality Quorum wrote:
>I do not bleive that RTOS has to follow same logic UNIX in the case:
>
> 1. Work load of RTOS stuff is more predictale so in many
> cases there is enough information to figure out
> necessary size of mbuf free list.
>
> 2. All IP based protocols will recover from packet loss
> without too many problems.
>
> 3. Memory is cheap.
>
>So, the most natuarl thing is to have pool of mbuffs and return
>NULL in all cases (WAIT and NO_WAIT) when it is exhausted.
>
>Simple systems == reliable systems.
I don't agree. If the user wanted WAIT, you should implement it.