When a privileged thread exits, we have to use the kernel alloctor to free memory; when an unprivileged thread exits, we don't have to do anything... heap memory will be cleaned up when the address environment is torn down
This commit is contained in:
parent
53438bcb1e
commit
e327840ae2
|
@ -194,7 +194,6 @@ if [ $answer = y ]; then
|
|||
fi
|
||||
|
||||
echo "EXTERN(up_initialize)" >>ld-locked.inc
|
||||
echo "EXTERN(lib_initialize)" >>ld-locked.inc
|
||||
echo "EXTERN(sched_setupidlefiles)" >>ld-locked.inc
|
||||
echo "EXTERN(task_create)" >>ld-locked.inc
|
||||
|
||||
|
|
Loading…
Reference in New Issue