From: David McCullough (davidm@lineo.com)
Date: Wed Aug 16 2000 - 19:21:06 EDT
Jivin Martin Flöer lays it down ... > Hi David, > > I am a coldfire 5307 user and have tested the kmalloc2 patch. I am > Interested on the brk/sbrk implementation. In the libc-function (brk, > sbrk) you make a syscall brk. > Where is the syscall implemntation. I have found one in > linux/mmnommu/mmap.c , but it returns only -ENOSYS ? Well, the bad news is I forgot to include the mmap.c patch :-( I have attached the sys_brk inplementation. I have been meaning to post a new patch, but I am still working on a bug in the binfmt_flat.c stuff, which happens more easily with the new malloc. There are a few bits of code that re-use memeory after they free it :-( The sbrk stuff is fine though, so you shouldn't see any issues with it. Cheers, Davidm -- David McCullough: Ph: +61 7 3279 1822 Lineo (The Embedded Linux Company) davidm@lineo.com Fx: +61 7 3279 1820 PO Box 925, Kenmore QLD 4069, Australia
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:16 EDT