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
..
accessibility
acpi
- constify compression structures; Bhumika Goyal
2017-05-02 10:35:45 -07:00
amba
android
ata
Merge branch 'for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
2017-05-01 13:34:49 -07:00
atm
auxdisplay
base
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-05-01 15:46:13 -07:00
bcma
block
zram: reduce load operation in page_same_filled
2017-05-03 15:52:11 -07:00
bluetooth
Bluetooth: hci_ldisc: Add protocol check to hci_uart_tx_wakeup()
2017-04-30 12:22:14 +02:00
bus
cdrom
scsi: introduce a result field in struct scsi_request
2017-04-20 12:16:10 -06:00
char
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2017-05-03 08:50:52 -07:00
clk
MMC core:
2017-05-02 17:34:32 -07:00
clocksource
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-05-01 16:15:18 -07:00
connector
cpufreq
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-05-01 19:12:53 -07:00
cpuidle
Merge branches 'pm-cpuidle', 'pm-core', 'pm-domains', 'pm-avs' and 'pm-devfreq'
2017-04-28 23:15:34 +02:00
crypto
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2017-05-02 15:53:46 -07:00
dax
Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-05-01 23:54:56 -07:00
dca
devfreq
PM / devfreq: Move struct devfreq_governor to devfreq directory
2017-04-12 12:42:14 +09:00
dio
dma
dma-buf
edac
EDAC, ghes: Do not enable it by default
2017-04-27 14:15:38 +02:00
eisa
extcon
firewire
firmware
- constify compression structures; Bhumika Goyal
2017-05-02 10:35:45 -07:00
fmc
fpga
fsi
gpio
gpu
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
hid
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
hsi
HSI: ssi_protocol: double free in ssip_pn_xmit()
2017-04-21 17:58:45 +02:00
hv
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
hwmon
hwmon: (twl4030-madc) drop driver
2017-04-30 11:45:31 -07:00
hwspinlock
hwtracing
i2c
ide
ide-pm: always pass 0 error to ide_complete_rq in ide_do_devset
2017-04-26 07:53:35 -06:00
idle
iio
infiniband
hw/mlx5: Add New bit to check over QP creation
2017-04-17 11:08:32 -04:00
input
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2017-04-28 11:08:42 -07:00
iommu
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
2017-05-02 09:50:09 -07:00
ipack
irqchip
irqchip/mbigen: Fix return value check in mbigen_device_probe()
2017-04-30 11:21:16 +02:00
isdn
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2017-04-06 08:24:51 -07:00
leds
leds: pca9532: Extend pca9532 device tree support
2017-04-19 20:27:50 +02:00
lguest
lightnvm
lightnvm: fix possible memory leak in pblk_bb_discovery()
2017-04-25 10:44:29 -06:00
macintosh
mailbox
mailbox: handle empty message in tx_tick
2017-04-27 16:20:04 +05:30
mcb
md
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
media
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
memory
memstick
message
mfd
misc
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
mmc
MMC core:
2017-05-02 17:34:32 -07:00
mtd
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
net
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
nfc
nfc: fix get_unaligned_...() misuses
2017-04-17 00:42:22 +02:00
ntb
nubus
nubus: Clean up whitespace
2017-04-20 09:54:24 +02:00
nvdimm
Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-05-01 23:54:56 -07:00
nvme
Merge branch 'for-4.12/block' of git://git.kernel.dk/linux-block
2017-05-01 10:39:57 -07:00
nvmem
of
mdio_bus: Issue GPIO RESET to PHYs.
2017-04-24 12:40:24 -04:00
oprofile
parisc
parport
pci
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
pcmcia
perf
phy
pinctrl
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
platform
LED updates for 4.12
2017-05-01 13:12:49 -07:00
pnp
power
ACPI updates for v4.12-rc1
2017-05-01 14:13:28 -07:00
powercap
pps
ps3
ptp
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-05-01 16:15:18 -07:00
pwm
pwm: rockchip: State of PWM clock should synchronize with PWM enabled state
2017-04-06 15:08:52 +02:00
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
sbus
scsi
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2017-05-02 19:09:35 -07:00
sfi
sh
sn
soc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
spi
spmi
ssb
staging
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
target
Merge branch 'for-4.12/block' of git://git.kernel.dk/linux-block
2017-05-01 10:39:57 -07:00
tc
thermal
Merge back cpufreq core changes for v4.12.
2017-04-15 00:23:36 +02:00
thunderbolt
tty
oom: improve oom disable handling
2017-05-03 15:52:10 -07:00
uio
usb
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2017-05-02 16:40:27 -07:00
uwb
vfio
vhost
VSOCK: Add virtio vsock vsockmon hooks
2017-04-24 12:35:56 -04:00
video
backlight: pwm_bl: Fix GPIO out for unimplemented .get_direction()
2017-04-19 19:59:44 +01:00
virt
virtio
virtio-pci: Remove affinity hint before freeing the interrupt
2017-04-11 00:30:20 +03:00
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile