You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't make much sense because the final argument to uvmunmap dictates whether or not that kfree is called. As you can see here, it's passed a zero for do_free arg.
in kernel/proc.c freeproc() function :
kfree will not give up this duplicated page, and this could lead to some problems. I delete the first kfree above and the code works well.
The text was updated successfully, but these errors were encountered: