Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205622
b: refs/heads/master
c: 16a4bfb
h: refs/heads/master
v: v3
  • Loading branch information
Nitin Gupta authored and Greg Kroah-Hartman committed Jun 18, 2010
1 parent 9029816 commit c697abd
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 29 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a1dd52afa94238d361d70502b219409ea115e235
refs/heads/master: 16a4bfb9e9dfefbd28ee170fa3e259bc88d81eb5
2 changes: 1 addition & 1 deletion trunk/drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ source "drivers/staging/sep/Kconfig"

source "drivers/staging/iio/Kconfig"

source "drivers/staging/ramzswap/Kconfig"
source "drivers/staging/zram/Kconfig"

source "drivers/staging/wlags49_h2/Kconfig"

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ obj-$(CONFIG_RAR_REGISTER) += rar_register/
obj-$(CONFIG_MRST_RAR_HANDLER) += memrar/
obj-$(CONFIG_DX_SEP) += sep/
obj-$(CONFIG_IIO) += iio/
obj-$(CONFIG_RAMZSWAP) += ramzswap/
obj-$(CONFIG_ZRAM) += zram/
obj-$(CONFIG_WLAGS49_H2) += wlags49_h2/
obj-$(CONFIG_WLAGS49_H25) += wlags49_h25/
obj-$(CONFIG_BATMAN_ADV) += batman-adv/
Expand Down
21 changes: 0 additions & 21 deletions trunk/drivers/staging/ramzswap/Kconfig

This file was deleted.

3 changes: 0 additions & 3 deletions trunk/drivers/staging/ramzswap/Makefile

This file was deleted.

28 changes: 28 additions & 0 deletions trunk/drivers/staging/zram/Kconfig
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.

3 changes: 3 additions & 0 deletions trunk/drivers/staging/zram/Makefile
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.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <linux/swapops.h>
#include <linux/vmalloc.h>

#include "ramzswap_drv.h"
#include "zram_drv.h"

/* Globals */
static int ramzswap_major;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <linux/spinlock.h>
#include <linux/mutex.h>

#include "ramzswap_ioctl.h"
#include "zram_ioctl.h"
#include "xvmalloc.h"

/*
Expand Down
File renamed without changes.

0 comments on commit c697abd

Please sign in to comment.