Home → Magazine Archive → December 2013 (Vol. 56, No. 12) → A Lesson in Resource Management → Abstract

A Lesson in Resource Management

By George V. Neville-Neil

Communications of the ACM, Vol. 56 No. 12, Pages 32-33
10.1145/2535916

[article image]


back to top  Dear KV

I have been reworking a device driver for a high-end, high-performance networking card and I have a resource allocation problem. The devices I am working with have several network ports, but these are not always in use; in fact, many of our customers use only one of the four available ports. It would greatly simplify the logic in my driver if I could allocate the resources for all the ports—no matter how many there are—when the device driver is first loaded into the system, instead of dealing with allocation whenever an administrator brings up an interface.

I should point out that this device has a good deal of complexity and the resource allocation is not as simple as a quick malloc of memory and pointer jiggling—a lot of moving parts are inside this thing.

0 Comments

No entries found