public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] - Kernel - tunable max_map_count test failure - 20140115-46-g2368cd4
@ 2014-05-05  6:52 Diwakar Sharma (RBEI/ECF3)
  2014-05-05 13:01 ` Stanislav Kholmanskikh
  0 siblings, 1 reply; 5+ messages in thread
From: Diwakar Sharma (RBEI/ECF3) @ 2014-05-05  6:52 UTC (permalink / raw)
  To: ltp-list@lists.sourceforge.net

Hi,

I was getting the max_map_count test failed. It looked to me failing at filter_map function. The platform I'm working on is an i686 architecture running on Virtualbox.
I added below additional macro condition and it's passing now. I want to understand if not including i686/386 was intentional originally for some reason? Also vdso part I added additionaly.

#elif defined(__i686__) || defined(__i386__)
static int filter_map(char *line)
{
        char buf[BUFSIZ];
        int ret;

        ret = sscanf(line, "%*p-%*p %*4s %*p %*2d:%*2d %*d %s", buf);
        if (ret != 1)
                return 0;

        return ((strcmp(buf, "[vdso]") == 0) | (strcmp(buf, "[vsyscall]") == 0));
}


On another similar architecture (but the actual h/w board), the same code gives messages like "4096 map entries in total, but expected 4096 entries" and reported FAIL, implying map_count and max_maps is same ( Contrary to map_count==max_maps+1 ). How do we analyze this scenario? Does this mean it is not exceeding by one for sysctl setting? How to verify that.


Thanks and Regards
Diwakar Sharma



------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-05-07  8:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-05  6:52 [LTP] - Kernel - tunable max_map_count test failure - 20140115-46-g2368cd4 Diwakar Sharma (RBEI/ECF3)
2014-05-05 13:01 ` Stanislav Kholmanskikh
2014-05-05 13:06   ` Diwakar Sharma (RBEI/ECF3)
2014-05-06  8:57     ` Stanislav Kholmanskikh
2014-05-07  8:47       ` Diwakar Sharma (RBEI/ECF3)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox