public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
To: Caspar Zhang <caspar@casparzhang.com>
Cc: LTP list <ltp-list@lists.sourceforge.net>,
	Wang Sheng-Hui <shhuiw@gmail.com>
Subject: Re: [LTP] [PATCH 2/2] mm/vma01: create a bighole
Date: Mon, 09 Jul 2012 20:09:51 +0800	[thread overview]
Message-ID: <4FFACA0F.80605@cn.fujitsu.com> (raw)
In-Reply-To: <1340609583-8300-2-git-send-email-caspar@casparzhang.com>

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 <caspar@casparzhang.com>
> ---
>  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
> Ltp-list@lists.sourceforge.net
> 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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  reply	other threads:[~2012-07-09 12:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25  7:33 [LTP] [PATCH 1/2] mm/vma01: consider topdown and bottomup allocation Caspar Zhang
2012-06-25  7:33 ` [LTP] [PATCH 2/2] mm/vma01: create a bighole Caspar Zhang
2012-07-09 12:09   ` Wanlong Gao [this message]
2012-07-09  9:55 ` [LTP] [PATCH 1/2] mm/vma01: consider topdown and bottomup allocation Caspar Zhang
2012-07-09 12:06 ` Wanlong Gao
2012-07-09 12:27   ` Caspar Zhang
2012-07-09 13:11     ` Wanlong Gao
2012-07-11  1:00 ` Wanlong Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FFACA0F.80605@cn.fujitsu.com \
    --to=gaowanlong@cn.fujitsu.com \
    --cc=caspar@casparzhang.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=shhuiw@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox