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

2007-05-09 Thread David McCullough
Jivin Greg Ungerer lays it down ... > > 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. > >

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 siz

[uClinux-dev] SLOB and binfmt_flat/do_mremap

2007-05-02 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 kob