summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ramzswap/ramzswap_ioctl.h
Commit message (Collapse)AuthorAgeFilesLines
* Staging: ramzswap: Update copyright noticeNitin Gupta2010-03-031-1/+1
| | | | | | | | Update copyright notice. Signed-off-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: ramzswap: Use lock for 64-bit statsNitin Gupta2010-03-031-0/+1
| | | | | | | | | | | | | | | | | 64-bit stats corruption was observed when ramzswap was used on SMP systems. To prevent this, use separate spinlock to protect these stats. Also, replace stat_*() with rzs_stat*() to avoid possible conflict with core kernel code. Eventually, these will be converted to per-cpu counters if this driver finds use on large scale systems and this locking is found to affect scalability. Signed-off-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: ramzswap: Minor spelling fixesC yp2010-03-031-2/+2
| | | | | | | | | Also removed an extra semicolon. Signed-off-by: Cyp <cyp561@gmail.com> Cc: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: virtual block device driver (ramzswap)Nitin Gupta2009-12-111-0/+49
Creates RAM based block devices (/dev/ramzswapX) which can be used (only) as swap disks. Pages swapped to these are compressed and stored in memory itself. The module is called ramzswap.ko. It depends on: - xvmalloc memory allocator (compiled with this driver) - lzo_compress.ko - lzo_decompress.ko See ramzswap.txt for usage details. Signed-off-by: Nitin Gupta <ngupta@vflare.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud