-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Staging: Rename ramzswap files to zram
Related changes: - Modify revelant Kconfig and Makefile accordingly. - Change include filenames in code. - Remove dependency on CONFIG_SWAP in Kconfig as zram usage is no longer limited to swap disks. Signed-off-by: Nitin Gupta <ngupta@vflare.org> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
- Loading branch information
Nitin Gupta
authored and
Greg Kroah-Hartman
committed
Jun 18, 2010
1 parent
a1dd52a
commit 16a4bfb
Showing
13 changed files
with
35 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
config ZRAM | ||
tristate "Compressed RAM block device support" | ||
select LZO_COMPRESS | ||
select LZO_DECOMPRESS | ||
default n | ||
help | ||
Creates virtual block devices called /dev/zramX (X = 0, 1, ...). | ||
Pages written to these disks are compressed and stored in memory | ||
itself. These disks allow very fast I/O and compression provides | ||
good amounts of memory savings. | ||
|
||
It has several use cases, for example: /tmp storage, use as swap | ||
disks and maybe many more. | ||
|
||
See zram.txt for more information. | ||
Project home: http://compcache.googlecode.com/ | ||
|
||
config ZRAM_STATS | ||
bool "Enable statistics for compressed RAM disks" | ||
depends on ZRAM | ||
default y | ||
help | ||
Enable statistics collection for compressed RAM devices. Statistics | ||
are exported through ioctl interface, so you have to use zramconfig | ||
program to get them. This adds only a minimal overhead. | ||
|
||
If unsure, say Y. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
zram-objs := zram_drv.o xvmalloc.o | ||
|
||
obj-$(CONFIG_ZRAM) += zram.o |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.