Sangwoo Park
f0fe998465
zram: reduce load operation in page_same_filled
...
In page_same_filled function, all elements in the page is compared with
next index value. The current comparison routine compares the (i)th and
(i+1)th values of the page.
In this case, two load operaions occur for each comparison. But if we
store first value of the page stores at 'val' variable and using it to
compare with others, the load opearation is reduced. It reduce load
operation per page by up to 64times.
Link: http://lkml.kernel.org/r/1488428104-7257-1-git-send-email-sangwoo2.park@lge.com
Signed-off-by: Sangwoo Park <sangwoo2.park@lge.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-05-03 15:52:11 -07:00
..
aoe
block: Use pointer to backing_dev_info from request_queue
2017-02-02 08:20:48 -07:00
drbd
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
mtip32xx
Merge branch 'for-4.12/block' of git://git.kernel.dk/linux-block
2017-05-01 10:39:57 -07:00
paride
pd: don't check blk_execute_rq return value.
2017-04-20 12:16:10 -06:00
rsxx
rsxx: remove the discard_zeroes_data flag
2017-04-08 11:25:38 -06:00
xen-blkback
xen: modify xenstore watch event interface
2017-02-09 11:26:49 -05:00
zram
zram: reduce load operation in page_same_filled
2017-05-03 15:52:11 -07:00
amiflop.c
ataflop.c
ataflop: switch from req->errors to req->error_count
2017-04-20 12:16:10 -06:00
brd.c
brd: remove discard support
2017-04-08 11:25:38 -06:00
cciss.c
scsi: introduce a result field in struct scsi_request
2017-04-20 12:16:10 -06:00
cciss.h
SCSI misc on 20170220
2017-02-21 11:51:42 -08:00
cciss_cmd.h
cciss_scsi.c
cciss: Remove kmalloc cast
2017-02-22 11:54:49 -07:00
cciss_scsi.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c
floppy: switch from req->errors to req->error_count
2017-04-20 12:16:10 -06:00
Kconfig
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
loop.c
blk-mq: remove the error argument to blk_mq_complete_request
2017-04-20 12:16:10 -06:00
loop.h
loop: zero-fill bio on the submitting cpu
2017-04-20 12:16:10 -06:00
Makefile
block: remove the osdblk driver
2017-04-19 09:10:51 -06:00
nbd.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
null_blk.c
blk-mq: remove the error argument to blk_mq_complete_request
2017-04-20 12:16:10 -06:00
pktcdvd.c
scsi: introduce a result field in struct scsi_request
2017-04-20 12:16:10 -06:00
ps3disk.c
block: fold cmd_type into the REQ_OP_ space
2017-01-31 14:00:44 -07:00
ps3vram.c
rbd.c
rbd: remove the discard_zeroes_data flag
2017-04-08 11:25:38 -06:00
rbd_types.h
rbd: RBD_V{1,2}_DATA_FORMAT macros
2017-02-20 12:16:15 +01:00
skd_main.c
skd: implement trivial scsi ioctls directly
2017-01-31 10:53:03 -07:00
skd_s1120.h
smart1,2.h
sunvdc.c
sunvdc: Add support for setting physical sector size
2017-02-23 08:24:08 -08:00
swim.c
swim: stop sharing request queue across multiple gendisks
2017-03-28 15:06:58 -06:00
swim3.c
swim3: remove (commented out) printing of req->errors
2017-04-20 12:16:10 -06:00
swim_asm.S
sx8.c
block: fold cmd_type into the REQ_OP_ space
2017-01-31 14:00:44 -07:00
umem.c
umem.h
virtio_blk.c
blk-mq: remove the error argument to blk_mq_complete_request
2017-04-20 12:16:10 -06:00
xen-blkfront.c
blk-mq: remove the error argument to blk_mq_complete_request
2017-04-20 12:16:10 -06:00
xsysace.c
block: fold cmd_type into the REQ_OP_ space
2017-01-31 14:00:44 -07:00
z2ram.c