On 06/25/2012 03:33 PM, Caspar Zhang wrote: > > There are two mmaps in vma01, sometimes first mmap succeeds while > second mmap might fail due to a small hole (3*ps <= hole < 6*ps) > produced by /etc/ld.so.cache and /etc/libc.so.6, I created a big hole > and then munmap it to make sure both allocations can succeed.
Can you share how to produce the hole and make the previous case FAIL? Thanks, Wanlong Gao > > |-3*ps-| > |------|------|------| hole > t p > |======|------| top-down alloc > |------|======| bottom-up alloc > > Signed-off-by: Caspar Zhang <[email protected]> > --- > testcases/kernel/mem/vma/vma01.c | 25 ++++++++++++++++++++++++- > 1 files changed, 24 insertions(+), 1 deletions(-) > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > > > _______________________________________________ > Ltp-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ltp-list > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
