Patent ID: 8117418

Claim:
A method for managing virtual addresses of a plurality of processes corresponding to an application, the method comprising: a. designating a first set of ranges of virtual addresses to the plurality of processes, wherein the virtual addresses of the first set of ranges map to a memory region shared among the plurality of processes; b. designating a second set of ranges of virtual addresses to the plurality of processes, wherein the virtual addresses of the second set of ranges map to a memory region independently used by a process of the plurality of processes; c. locking the first set of ranges of virtual addresses when allocating virtual addresses; d. locking the second set of ranges of virtual addresses when a private memory region is unavailable; and e. automatically performing one of: 1. addition of virtual address ranges to one of the first set of ranges and the second set of ranges, wherein the addition is performed in virtual addresses of the plurality of processes; and 2. removal of virtual address ranges from one of the first set of ranges and the second set of ranges, wherein the removal is performed in virtual addresses of the plurality of processes, based on one or more requirements of the application, without locking for every memory allocation.