From: Cyril Hrubis <chrubis@suse.cz>
To: Viorel-C??t??lin R??pi??eanu <rapiteanu.catalin@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] min_free_kbytes incorrect results
Date: Thu, 4 Dec 2014 15:03:44 +0100 [thread overview]
Message-ID: <20141204140344.GA32277@rei.suse.de> (raw)
In-Reply-To: <548063A8.4060104@gmail.com>
Hi!
> I've been running 'min_free_kbytes' from 'runtest/mm', but everytime I'm
> getting an incorrect value on read. I've tried this test on different
> machines (different architectures) and with different versions of ltp,
> but I'm getting the same error on read. I've looked at the test, but the
> code seems fine. If anybody has any ideea why this isn't working please
> let me know.
>
> The following log was generated using an up-to-date Arch Linux x64 using
> kernel: 3.17.4-1
> -------------------------------------------------------------------------------------------------
> min_free_kbytes 0 TINFO : set overcommit_memory to 2
> min_free_kbytes 0 TINFO : set min_free_kbytes to 67584
> min_free_kbytes 1 TBROK : min_free_kbytes = 6, but expect 67584
This failure comes from function set_sys_tune() from
testcases/kernel/mem/lib/mem.c
What the code does is to write to the specified file in /sys and then
reads it back to verify its content. And it looks like the number read
back is truncated so something seems to be broken.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2014-12-04 14:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 13:37 [LTP] min_free_kbytes incorrect results Viorel-Cătălin Răpițeanu
2014-12-04 14:03 ` Cyril Hrubis [this message]
[not found] <54806F17.7070404@gmail.com>
2014-12-04 14:29 ` Cyril Hrubis
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=20141204140344.GA32277@rei.suse.de \
--to=chrubis@suse.cz \
--cc=ltp-list@lists.sourceforge.net \
--cc=rapiteanu.catalin@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.