zram-use-zcomp-compressing-backends.patch removed from -mm tree
Subsystems (2)
Subject: [merged] zram-use-zcomp-compressing-backends.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 08 Apr 2014 14:06:37 -0700
The patch titled
Subject: zram: use zcomp compressing backends
has been removed from the -mm tree. Its filename was
zram-use-zcomp-compressing-backends.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Sergey Senozhatsky <[email protected]>
Subject: zram: use zcomp compressing backends
Do not perform direct LZO compress/decompress calls, initialise and use zcomp LZO backend (single compression stream) instead.
---
drivers/block/zram/Makefile | 2 drivers/block/zram/zram_drv.c | 69 ++++++++++++++------------------ drivers/block/zram/zram_drv.h | 8 +-- 3 files changed, 36 insertions(+), 43 deletions(-)
drivers/block/zram/Makefile renamed from drivers/block/zram/Makefile~zram-use-zcomp-compressing-backends +1 -1
@@ -1,3 +1,3 @@ -zram-y := zram_drv.o +zram-y := zcomp_lzo.o zcomp.o zram_drv.o obj-$(CONFIG_ZRAM) += zram.o
drivers/block/zram/zram_drv.c renamed from drivers/block/zram/zram_drv.c~zram-use-zcomp-compressing-backends +31 -38
200 lines not on this page · raw message
drivers/block/zram/zram_drv.h renamed from drivers/block/zram/zram_drv.h~zram-use-zcomp-compressing-backends +4 -4
@@ -16,9 +16,10 @@#define _ZRAM_DRV_H_#include <linux/spinlock.h> -#include <linux/mutex.h> #include <linux/zsmalloc.h> +#include "zcomp.h" +/* * Some arbitrary value. This is just to catch * invalid value for num_devices module parameter.
@@ -81,17 +82,16 @@ struct zram_stats {struct zram_meta {rwlock_t tb_lock;/* protect table */ -void *compress_workmem; -void *compress_buffer;struct table *table;struct zs_pool *mem_pool; -struct mutex buffer_lock;/* protect compress buffers */ };struct zram {struct zram_meta *meta;struct request_queue *queue;struct gendisk *disk; +struct zcomp *comp; +/* Prevent concurrent execution of device init, reset and R/W request */ struct rw_semaphore init_lock;/*
_
Patches currently in -mm which might be from [email protected] are
origin.patch