All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julio Cruz Barroso <julio.cruz@smartmatic.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] mmap2: change memory units to MB to support embedded devices
Date: Tue, 15 Mar 2016 10:52:44 +0000	[thread overview]
Message-ID: <AF04265A3FC2B144B9892F621A394E13EA3E89AB@tethys> (raw)

Hi Jan,

This patch made two changes:

1) check the available memory before to perform the test case
2) change the memory units from GB to MB.

Both changes are needed during testing on embedded devices with RAM memory limitation (i.e. 512MB).

This patch no changed the test case procedure and the default memory size is the same (1GB=1000MB).

To use this test case in embedded devices, I suggest to change the testrun 'mm' as below

- mtest06_2 mmap2 -x 0.002 -a -p
+ mtest06_2 mmap2 -x 0.002 -a -p -s 100

This patch come from previous discussion at http://lists.linux.it/pipermail/ltp/2016-March/001233.html

Regards

Julio

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160315/3a1ecfde/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-memory-units-to-MB-to-support-embedded-device.patch
Type: application/octet-stream
Size: 4734 bytes
Desc: 0001-Change-memory-units-to-MB-to-support-embedded-device.patch
URL: <http://lists.linux.it/pipermail/ltp/attachments/20160315/3a1ecfde/attachment.obj>

                 reply	other threads:[~2016-03-15 10:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=AF04265A3FC2B144B9892F621A394E13EA3E89AB@tethys \
    --to=julio.cruz@smartmatic.com \
    --cc=ltp@lists.linux.it \
    /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.