Menu

#3 kfree swwps rug out from under allocated pointers

open
kmem (1)
5
2004-05-11
2004-05-11
No

when you do kfree(p), pointers other than p should
remain unaffected. However, in the current kfree, the
data being pointed to gets copied to another location
and unused memory cleared. This was a *bad* idea, even
if the kernel memory manager is simpler and different
than a regular VM.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB