Dynamic allocation of a common buffer for use by a set of softwa

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

39549701, G06F 1202

Patent

active

056757930

ABSTRACT:
A computer method and system for allocating memory for a plurality of software routines. Before execution of the software routines, a collective buffer is allocated. Each software routine is assigned an offset within the collective buffer. Each software routine may then use the portion of the collective buffer starting at its offset as its dynamically allocated work space. To allocate the collective buffer, a collective buffer size is first determined which is sufficient to satisfy the total dynamic memory requirements of the software routines. In determining the collective buffer size, the size of a software routine buffer required by each software routine is accumulated into the collective buffer size. As each software routine buffer size requirement is accumulated, the interim total is stored as the offset for the next software routine. When the last software routine buffer size requirement is accumulated, the total indicates the collective buffer size. A collective buffer of the collective buffer size is then allocated. When the software routines are executed, each software routine uses a portion of the collective buffer referenced by its assigned offset. When all the software routines complete execution, the collective buffer may then be deallocated. In a preferred embodiment, the memory is allocated to a software system having a layered architecture including an application program and a device driver comprising a plurality of component device drivers.

REFERENCES:
patent: 5247674 (1993-09-01), Kogure
patent: 5367637 (1994-11-01), Wei
Hanson, David R., "Fast Allocation and Deallocation of Memory Based on Object Lifetimes," Software--Practice and Experience, vol. 20(1), Jan. 1990, pp. 5-12.
"Termination of a Pool of Memory Selectors with a Single API Call," IBM Technical Disclosure Bulletin, IBM Corp., vol. 35, Jun. 1992, pp. 384-385.
Kernighan et al., "The C Programming Language," 1978, pp. 96-99.
Kernighan et al., "The C Programming Language," Prentice-Hall, 1978, pp. 173-177.
Kernighan et al., "The C Programming Language," Second Edition, Prentice-Hall, 1988, pp. 185-189.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Dynamic allocation of a common buffer for use by a set of softwa does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Dynamic allocation of a common buffer for use by a set of softwa, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Dynamic allocation of a common buffer for use by a set of softwa will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2365523

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.