linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Relation between free() and remove_vm_struct()
@ 2006-08-17  6:59 Abu M. Muttalib
  2006-08-17  6:59 ` Arjan van de Ven
  0 siblings, 1 reply; 6+ messages in thread
From: Abu M. Muttalib @ 2006-08-17  6:59 UTC (permalink / raw)
  To: kernelnewbies, linux-newbie, linux-kernel, linux-mm

Hi,

In an application I am freeing some memory address, earlier reserved with
malloc.

I have put prints in remove_vm_struct() function in ./mm/mmap.c. For few
calls to free(), there is no corresponding call to remove_vm_struct(). I am
not able to understand why the user space call to free() is not propagated
to kernel, where in the remove_vm_strcut() function should get called.

Please help.

Regards,
Abu.


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-18 11:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-17  6:59 Relation between free() and remove_vm_struct() Abu M. Muttalib
2006-08-17  6:59 ` Arjan van de Ven
2006-08-17  7:56   ` Abu M. Muttalib
2006-08-17 10:48     ` Arjan van de Ven
2006-08-17 11:27       ` Abu M. Muttalib
2006-08-18 11:43         ` Andy Whitcroft

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox