×

Method for tracking memory allocation in network file server

  • US 5,491,808 A
  • Filed: 09/30/1992
  • Issued: 02/13/1996
  • Est. Priority Date: 09/30/1992
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for tracking server memory allocations and deallocations that are attempted or invoked by system calls made from one or more server resident programs running in a computer network server, where the server is operating under control of a network operating system having system memory allocation functions callable by the one or more server resident programs for making desired memory allocations and deallocation, the method comprising the steps of:

  • (a) allocating memory blocks for storing tracking information wherein said step (a) of allocating memory blocks includes;

    (a.1) allocating a first pool of memory blocks for storing normal return information; and

    (a.2) allocating a second pool of memory blocks for storing exception messages;

    (b) identifying entry points for accessing the system memory allocation functions;

    (c) replacing initial instructions of the system memory allocation functions that are accessed by the identified entry points with jump instructions so as to cause system calls made to those system functions to be redirected to respective tracker routines;

    (d) in response to each system call whose execution is redirected to a respective tracker routine, executing instructions equivalent to the respectively replaced initial instructions of the called system memory allocation function, and then calling the remainder of the called system memory allocation function from the tracker routine to which the redirection jump was made;

    (e) receiving return information from the called remainder of the system memory allocation function at the corresponding tracker routine;

    (f) recording the received return information in the memory blocks allocated for storing tracking information, and(g) returning the received return information to the server resident program that made the system call.

View all claims
  • 14 Assignments
Timeline View
Assignment View
    ×
    ×