Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1207498

Re: [PATCH] selftests/zram: Adding zram tests

From Alexey Kodanev <alexey.kodanev@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] selftests/zram: Adding zram tests
Date 2015-08-14 13:50 +0200
Message-ID <pXlEK-Z7-5@gated-at.bofh.it> (permalink)
References <pJzRg-5u5-15@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


Hi Naresh,

On 07/07/2015 03:03 PM, naresh.kamboju@linaro.org wrote:
> From: Naresh Kamboju<naresh.kamboju@linaro.org>
>
> zram_lib.sh: create library with initialization/cleanup functions
> zram01.sh: creates general purpose ram disks with different filesystems
> zram02.sh: creates block device for swap
> README: ZRAM introduction and Kconfig required.
> Makefile: To run zram tests
...
> +zram_load()
> +{
> +	# check zram module exists
> +	MODULE_PATH=/lib/modules/`uname -r`/kernel/drivers/zram/zram.ko

Should it rather be "/lib/modules/`uname 
-r`/kernel/drivers/block/zram/zram.ko" path?

Also adding: Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>

Best regards,
Alexey

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] selftests/zram: Adding zram tests Alexey Kodanev <alexey.kodanev@oracle.com> - 2015-08-14 13:50 +0200

csiph-web