All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH] mmap2: change memory units to MB to support embedded devices
@ 2016-03-15 10:52 Julio Cruz Barroso
  0 siblings, 0 replies; only message in thread
From: Julio Cruz Barroso @ 2016-03-15 10:52 UTC (permalink / raw)
  To: ltp

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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-15 10:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-15 10:52 [LTP] [PATCH] mmap2: change memory units to MB to support embedded devices Julio Cruz Barroso

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.