How to enable zramfs in android...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

we are trying to make use of zramfs. In our android based board,
we are seeing this output,

root@sandeep:/sys/block/zram0 # ls
ls
alignment_offset
bdi
capability
compr_data_size
dev
discard_alignment
disksize
ext_range
holders
inflight
initstate
invalid_io
mem_used_total
notify_free
num_reads
num_writes
orig_data_size
power
queue
range
removable
reset
ro
size
slaves
stat
subsystem
uevent
zero_pages

Does this mean zram is activated ?

we are trying to do the operation to set disk size, 
echo $((50*1024*1024)) > /sys/block/zram0/disksize

but still num_reads, num_writes is still zero. 
Can you pls let us know how to enable zramfs?

--
With regards,
Sandeep Kumar Anantapalli,
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux