Method and device for deallocating dynamically allocated memory area
AssigneeUnist (Ulsan National Institute of Science and Technology)
InventorsHyungon MOON, Chanyoung PARK, Jaehyu LEE, Daeyeon KIM
Life of this patent
Estimating the term…
Abstract
Another electronic device includes a processor configured to, while the processor maintains user privilege, receive a deallocation request for a dynamically allocated target memory area, while the processor maintains kernel privilege, determine whether another memory area including a code accessing the target memory area exists, and when the other memory area does not exist, while the processor maintains the user privilege, deallocate the target memory area.
Claims20
A method of deallocating a dynamically allocated memory area performed by a processor, the method comprising:
- while the processor maintains user privilege, receiving a deallocation request for a dynamically allocated target memory area;
- while the processor maintains kernel privilege, determining whether another memory area comprising a code accessing the target memory area exists;
- and
- while the processor maintains the user privilege, when the other memory area does not exist, deallocating the target memory area.
An electronic device comprising:
- a processor configured to:
- while the processor maintains user privilege, receive a deallocation request for a dynamically allocated target memory area;
- while the processor maintains kernel privilege, determine whether another memory area comprising a code accessing the target memory area exists;
- and
- when the other memory area does not exist, while the processor maintains the user privilege, deallocate the target memory area.
Dependencies are inferred from the claim text.