Re: [uClinux-dev] SLOB and binfmt_flat/do_mremap

2007-05-09 Thread Greg Ungerer
Hi John, John Williams wrote: With the SLOB allocator enabled, kobjsize() doesn't seem to match ksize(). This triggers a bug with binfmt_flat, where the do_mremap call is used to take up slack space in the allocated text/data segments. binfmt_flat calls ksize to get the allocated region

[uClinux-dev] SLOB and binfmt_flat/do_mremap

2007-05-03 Thread John Williams
Hi, With the SLOB allocator enabled, kobjsize() doesn't seem to match ksize(). This triggers a bug with binfmt_flat, where the do_mremap call is used to take up slack space in the allocated text/data segments. binfmt_flat calls ksize to get the allocated region size, but do_mremap calls