Re: binfmt_elf padzero problems

2005-03-17 Thread Paul Mackerras
Andrew Morton writes: > I guess if the bss has zero length then we can skip the zeroing of the end > of the page at the end of bss, as long as we're dead sure that we didn't > accidentally instantiate a single page on behalf of that zero-length bss. There is another thing I noticed about the bss

Re: binfmt_elf padzero problems

2005-03-17 Thread Andrew Morton
Nir Tzachar <[EMAIL PROTECTED]> wrote: > > hello. > > i am seeing a problem(?) with the patch described at: > http://marc.theaimsgroup.com/?l=linux-kernel=109865760703851=2 > i'm using vanilla 2.6.11 (not .1/.2/.3/.4 ...) > > the short version: > padzero does not alway do the right thing (more

binfmt_elf padzero problems

2005-03-17 Thread Nir Tzachar
hello. i am seeing a problem(?) with the patch described at: http://marc.theaimsgroup.com/?l=linux-kernel=109865760703851=2 i'm using vanilla 2.6.11 (not .1/.2/.3/.4 ...) the short version: padzero does not alway do the right thing (more correctly, it's caller, load_elf_binary). the longer

binfmt_elf padzero problems

2005-03-17 Thread Nir Tzachar
hello. i am seeing a problem(?) with the patch described at: http://marc.theaimsgroup.com/?l=linux-kernelm=109865760703851w=2 i'm using vanilla 2.6.11 (not .1/.2/.3/.4 ...) the short version: padzero does not alway do the right thing (more correctly, it's caller, load_elf_binary). the longer

Re: binfmt_elf padzero problems

2005-03-17 Thread Andrew Morton
Nir Tzachar [EMAIL PROTECTED] wrote: hello. i am seeing a problem(?) with the patch described at: http://marc.theaimsgroup.com/?l=linux-kernelm=109865760703851w=2 i'm using vanilla 2.6.11 (not .1/.2/.3/.4 ...) the short version: padzero does not alway do the right thing (more correctly,

Re: binfmt_elf padzero problems

2005-03-17 Thread Paul Mackerras
Andrew Morton writes: I guess if the bss has zero length then we can skip the zeroing of the end of the page at the end of bss, as long as we're dead sure that we didn't accidentally instantiate a single page on behalf of that zero-length bss. There is another thing I noticed about the bss