public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Cc: ltp-list@lists.sourceforge.net, bob.picco@oracle.com
Subject: Re: [LTP] [PATCH] max_map_count: corrected max_map_count condition
Date: Mon, 5 Aug 2013 17:41:19 +0200	[thread overview]
Message-ID: <20130805154118.GA16172@rei> (raw)
In-Reply-To: <1375192031-10636-1-git-send-email-stanislav.kholmanskikh@oracle.com>

Hi!
> * kernel test for max_map_count_sysctl is:
>    /* Too many mappings? */
>    if (mm->map_count > sysctl_max_map_count)
>      return -ENOMEM;

Hmm, that looks like we allow the map_count to became one greater than
max_map_count, is this known bug?

>   so in LTP test map_count should be greater than max_map_count by 1
>
> * only [vsyscall] is allocated without incrementing mm->map_count

That also looks strange, do you know why one is allocated without
incrementing it and another with?

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

  parent reply	other threads:[~2013-08-05 15:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-30 13:47 [LTP] [PATCH] max_map_count: corrected max_map_count condition Stanislav Kholmanskikh
2013-07-31  3:03 ` Caspar Zhang
2013-08-05  3:16 ` Zhouping Liu
2013-08-06  7:08   ` Stanislav Kholmanskikh
2013-08-05 15:41 ` chrubis [this message]
     [not found]   ` <52009D26.4030609@oracle.com>
     [not found]     ` <520A34B4.3020502@oracle.com>
2013-08-13 14:52       ` chrubis
     [not found]       ` <520AFFFB.6040708@redhat.com>
     [not found]         ` <520B1666.6010808@oracle.com>
     [not found]           ` <520B3FC4.5020809@redhat.com>
2013-08-19  1:32             ` 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=20130805154118.GA16172@rei \
    --to=chrubis@suse.cz \
    --cc=bob.picco@oracle.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=stanislav.kholmanskikh@oracle.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