From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1V6MuT-0000vG-Oe for ltp-list@lists.sourceforge.net; Mon, 05 Aug 2013 15:41:25 +0000 Date: Mon, 5 Aug 2013 17:41:19 +0200 From: chrubis@suse.cz Message-ID: <20130805154118.GA16172@rei> References: <1375192031-10636-1-git-send-email-stanislav.kholmanskikh@oracle.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1375192031-10636-1-git-send-email-stanislav.kholmanskikh@oracle.com> Subject: Re: [LTP] [PATCH] max_map_count: corrected max_map_count condition List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Stanislav Kholmanskikh Cc: ltp-list@lists.sourceforge.net, bob.picco@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