ned@h-three.UUCP (ned) (01/11/90)
I'm developing a device driver that requires varying amounts of shared memory to be dynamically allocated and deallocated. I'm looking for a public domain memory allocation package which is functionally equivalent to malloc, but is designed so that buffer information (pointers, flags, etc.) are maintained in an area that is separate from the arena itself (i.e. does not use a linked list as malloc classic does). My particular application requires that memory be allocated at interrupt level, so critical sections of code need to be fast and few. Can anyone help? Thanks. -- Ned Robie uunet!h-three!ned
vandys@sequent.UUCP (Andrew Valencia) (01/11/90)
In article <758@h-three.UUCP> ned@h-three.UUCP (ned) writes: >My particular application requires that memory be allocated at >interrupt level, so critical sections of code need to be >fast and few. Take a look at kern_malloc.c/malloc.h from the 4.3-tahoe distribution. The public portions of it are available on uunet. Although the files are from kernel source, I've successfully converted them into user-level routines also. They contain no AT&T-owned source, so their use is reasonable in other products. Andy Valencia ...!{uunet, sun}!sequent!vandys