摘要 |
<p>A data processing system (10) includes an adaptive method for allocation of RAM (20) as between procedures having both higher and lower priorities. The RAM (20) is provided with first and second portions (26,24), the first portion (26) for assignment to higher priority procedures and the second portion (24) for assignment to lower priority procedures, higher priority procedures being able to access also the second portion (24) of RAM (20). The adaptive method comprises the steps of: responding to a request (50) for allocation of RAM (20) to a higher priority procedure by determining (52) if RAM (20) is available from the first portion (26) and, if not, allocating RAM (20) from the second portion (24) to the higher priority procedure. The procedure enables allocation of RAM (20) from the second portion (24) to a lower priority procedure where available RAM (20) in the first portion (26) exceeds a first threshold level (A). The system continues the enablement until the available RAM (20) in the first portion (26) falls below a lower, second threshold level (B) at which point, the allocation to the lower priority procedure is inhibited. The inhibition of allocation of RAM (20) from the second portion (24) to a lower priority procedure continues until the available RAM (20) in the first portion (26) again exceeds the first threshold level (A). <IMAGE></p> |