Claims
- 1. A method in a logical partitioned data processing system for managing a set of processors in the logical partitioned data processing system, the method comprising:
responsive to a request to deallocate a processor assigned to a partition within the logical partitioned data processing system, stopping the processor, wherein the processor belongs to the set of processors; responsive to stopping the processor, placing the processor in an isolated state, wherein the processor is isolated from the partition; and placing the processor in a pool of resources for later reassignment.
- 2. The method of claim 1 further comprising:
responsive to a request to allocate the processor, assigning the processor to the partition; configuring the processor for use by the partition; initializing resources used to access the processor; placing the processor in a spin loop software state machine; and sending control of the processor to the partition.
- 3. The method of claim 2, wherein placing the processor in an isolated state occurs by disabling an ability of the processor to handle interrpupts.
- 4. The method of claim 2, wherein placing the processor in a pool of resources for later reassignment causes the processor change to an unallocated state.
- 5. The method of claim 1, wherein the method performs deallocation of the processor in a dynamic basis.
- 6. The method of claim 1, wherein deallocation of the processor occurs without terminating execution of the partition.
- 7. A method in a logical partitioned data processing system for managing processors in the logical partitioned data processing system, the method comprising:
responsive to a request to deallocate a processor assigned to a partition within the logical partitioned data processing system, placing the processor into a spin loop software state machine to place the processor in a stopped state; isolating the processor from the partition, wherein the partition is unable to access the processor; and deallocating the processor after the processor has been isolated from the partition.
- 8. The method of claim 7, wherein the deallocating step takes the processor out of the spin loop software state machine and places the processor into a pool for reallocation.
- 9. The method of claim 7, wherein the partition is a first partition and further comprising:
responsive to receiving a request to allocate the processor to a second partition after the processor has been deallocated, allocating the processor to the second partition in a state in which the second partition is unable to access the processor; placing the processor into a spin loop software state machine; unisolating the processor from the partition after placing the processor in to the spin loop software state machine; and placing the processor in to a running state in which the processor beginning executing code at an address designated by the second partition.
- 10. The method of claim 7, wherein the second partition is the first partition
- 11. The method of claim 7 further comprising: configuring the processor for use in the second partition.
- 12. The method of claim 10, wherein deallocation and allocation of the processor occurs without terminating execution of the first partition and the second partition.
- 13. A logical partitioned data processing system for managing a set of processors, the logical partitioned data processing system comprising:
a bus system; a communications unit connected to the bus system; a memory connected to the bus system, wherein the memory includes a set of instructions; and a processing unit having a set of processors connected to the bus system, wherein the processing unit executes the set of instructions to stop a processor in which the processor belongs to the set of processors in response to a request to deallocate a processor assigned to a partition within the logical partitioned data processing system; place the processor in an isolated state in which the processor is isolated from the partition in response to stopping the processor; and place the processor in a pool of resources for later reassignment.
- 14. A logical partitioned data processing system for managing processors in the logical partitioned data processing system, the logical partitioned data processing system comprising:
a bus system; a communications unit connected to the bus system; a memory connected to the bus system, wherein the memory includes a set of instructions; and a processing unit connected to the bus system, wherein the processing unit executes the set of instructions to place a processor in the processing unit into a spin loop software state machine to place the processor in a stopped state in response to a request to deallocate a processor assigned to a partition within the logical partitioned data processing system; isolate the processor from the partition in which the partition is unable to access the processor; and deallocate the processor after the processor has been isolated from the partition.
- 15. A logical partitioned data processing system for managing a set of processors in the logical partitioned data processing system, the logical partitioned data processing system comprising:
stopping means, responsive to a request to deallocate a processor assigned to a partition within the logical partitioned data processing system, for stopping the processor, wherein the processor belongs to the set of processors; first placing means, responsive to stopping the processor, for placing the processor in an isolated state, wherein the processor is isolated from the partition; and second placing means for placing the processor in a pool of resources for later reassignment.
- 16. The logical partitioned data processing system of claim 15, wherein the placing means is a first placing means and further comprising:
assigning means, responsive to a request to allocate the processor, for assigning the processor to the partition; configuring means for configuring the processor for use by the partition; initializing means for initializing resources used to access the processor; second placing means for placing the processor in a spin loop software state machine; and sending means for sending control of the processor to the partition.
- 17. The logical partitioned data processing system of claim 16, wherein placing the processor in an isolated state occurs by disabling an ability of the processor to handle interrpupts.
- 18. The logical partitioned data processing system of claim 16, wherein placing the processor in a pool of resources for later reassignment causes the processor change to an unallocated state.
- 19. The logical partitioned data processing system of claim 15, wherein the method performs deallocation of the processor in a dynamic basis.
- 20. The logical partitioned data processing system of claim 15, wherein deallocation of the processor occurs without terminating execution of the partition.
- 21. A logical partitioned data processing system for managing processors in the logical partitioned data processing system, the logical partitioned data processing system comprising:
placing means, responsive to a request to deallocate a processor assigned to a partition within the logical partitioned data processing system, for placing the processor into a spin loop software state machine to place the processor in a stopped state; isolating means for isolating the processor from the partition, wherein the partition is unable to access the processor; and deallocating means for deallocating the processor after the processor has been isolated from the partition.
- 22. The logical partitioned data processing system of claim 21, wherein the deallocating means takes the processor out of the spin loop software state machine and places the processor into a pool for reallocation.
- 23. The logical partitioned data processing system of claim 21, wherein the partition is a first partition and wherein the placing means is a first placing means and further comprising:
allocating means, responsive to receiving a request to allocate the processor to a second partition after the processor has been deallocated, for allocating the processor to the second partition in a state in which the second partition is unable to access the processor; second placing means for placing the processor into a spin loop software state machine; unisolating means for unisolating the processor from the partition after placing the processor in to the spin loop software state machine; and third placing means for placing the processor in to a running state in which the processor beginning executing code at an address designated by the second partition.
- 24. The logical partitioned data processing system of claim 21, wherein the second partition is the first partition.
- 25. The logical partitioned data processing system of claim 21 further comprising:
configuring means for configuring the processor for use in the second partition.
- 26. The logical partitioned data processing system of claim 24, wherein deallocation and allocation of the processor occurs without terminating execution of the first partition and the second partition.
- 27. A computer program product in a computer readable medium for managing a set of processors in a logical partitioned data processing system, the computer program product comprising:
first instructions, responsive to a request to deallocate a processor assigned to a partition within the logical partitioned data processing system, for stopping the processor, wherein the processor belongs to the set of processors; second instructions, responsive to stopping the processor, for placing the processor in an isolated state, wherein the processor is isolated from the partition; and third instructions for placing the processor in a pool of resources for later reassignment.
- 28. A computer program product in a computer readable medium for managing processors in the logical partitioned data processing system, the computer program product comprising:
first instructions, responsive to a request to deallocate a processor assigned to a partition within the logical partitioned data processing system, for placing the processor into a spin loop software state machine to place the processor in a stopped state; second instructions for isolating the processor from the partition, wherein the partition is unable to access the processor; and third instructions for deallocating the processor after the processor has been isolated from the partition.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] The present invention is related to the following applications entitled: “Method and Apparatus for Managing Memory Blocks in a Logical Partitioned Data Processing System”, serial no. ______, attorney docket no. AUS920020264US1; and “Method and Apparatus for Dynamically Managing Input/Output Slots in a Logical Partitioned Data Processing System, serial no. ______, attorney docket no. AUS920020266US1, all filed even date hereof, assigned to the same assignee, and incorporated herein by reference.