kernel-ark/drivers/staging
Robert Jennings e3f201b541 zram/xvmalloc: free bit block insertion optimization
This change is in a conditional block which is entered only when there is
an existing data block on the freelist where the insert has taken place.

The new block is pushed onto the freelist stack and this conditional block
is updating links in the prior stack head to point to the new stack head.
After this conditional block the first-/second-level indices are updated
to indicate that there is a free block at this location.

This patch adds an immediate return from the conditional block to avoid
setting bits again to indicate a free block on this freelist. The bits
would already be set because there was an existing free block on this
freelist.

Signed-off-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-02-04 13:29:11 -08:00
..
asus_oled
ath6kl staging: ath6kl: Remove #define A_OK 2011-02-02 14:34:51 -08:00
bcm Staging: bcm: Check correct user provided length and fix error code returned 2011-02-04 13:01:02 -08:00
brcm80211 staging: brcm80211: remove driver message upon initialization 2011-02-04 13:29:10 -08:00
comedi staging: comedi: fix coding style issue in drivers.c 2011-02-04 13:04:24 -08:00
cptm1217
crystalhd
cs5535_gpio staging: cs5535_gpio: check put_user() return code 2011-01-21 12:35:14 -08:00
cx25821 Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-01-10 16:04:53 -08:00
cxt1e1 staging: Fix some incorrect use of positive error codes. 2011-01-21 12:35:50 -08:00
dabusb Staging: dabusb: fixed coding style issues 2011-01-31 14:12:18 -08:00
dt3155v4l [media] V4L: remove V4L1 compatibility mode 2010-12-29 08:17:07 -02:00
easycap staging/easycap: add level 1 tabs in usb_probe/disconnect function 2011-02-04 12:44:34 -08:00
echo
et131x staging: et131x: Begin cleaning up the MI registers 2011-02-04 13:01:01 -08:00
frontier
ft1000 staging: ft1000: Remove unnecessary assignment. 2011-02-04 12:43:44 -08:00
go7007 staging/go7007: remove the BKL 2011-01-31 13:38:15 -08:00
hv Staging: Merge branch 'staging-next' into 2.6.38-rc3 2011-02-02 13:35:58 -08:00
iio Staging: Merge branch 'staging-next' into 2.6.38-rc3 2011-02-02 13:35:58 -08:00
intel_sst
keucr staging: keucr: Delete use kernel strcmp() & strcpy() from TODO file 2011-01-21 12:16:53 -08:00
line6 staging/line6: Fix sparse warning 'Using plain integer as NULL pointer' 2010-12-08 14:31:01 -08:00
lirc [media] staging/lirc: fix mem leaks and ptr err usage 2011-01-19 12:52:22 -02:00
memrar
msm Staging: Merge branch 'staging-next' into 2.6.38-rc3 2011-02-02 13:35:58 -08:00
octeon staging: octeon: change a typo comamnd to command 2011-02-04 13:01:03 -08:00
olpc_dcon staging: olpc_dcon: checkpatch.pl fixes for olpc_dcon.c file. 2011-02-04 13:05:09 -08:00
panel
phison Staging: phison: use DEFINE_PCI_DEVICE_TABLE 2010-12-09 16:29:48 -08:00
pohmelfs staging: pohmelfs: Fix some typos, and comments. 2011-02-04 13:01:02 -08:00
quatech_usb2
quickstart
rt2860 staging: rt2860: cmm_mac_pci.c change a typo comamnd to command 2011-02-04 13:01:03 -08:00
rt2870
rtl8187se
rtl8192e Staging: rtl8192e: Remove unused card type 2011-01-31 13:57:06 -08:00
rtl8192u rtl8192u_usb: Remove built-in firmware images 2011-01-21 12:19:11 -08:00
rtl8712 Staging: Merge branch 'staging-next' into 2.6.38-rc3 2011-02-02 13:35:58 -08:00
rts_pstor staging: rts_pstor: potential NULL dereference 2011-02-04 13:04:23 -08:00
samsung-laptop Merge branch 'master' into for-next 2010-12-22 18:57:02 +01:00
sbe-2t3e3
se401 [media] staging: se401 depends on USB 2010-12-30 22:29:41 -02:00
sep staging: sep: Further tidying 2011-02-01 06:27:13 -08:00
serqt_usb2
slicoss
sm7xx console: rename acquire/release_console_sem() to console_lock/unlock() 2011-01-26 10:50:06 +10:00
solo6x10 staging: solo6010 depends on I2C 2010-12-09 16:29:49 -08:00
speakup staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spectra staging: spectra: don't read past array in Conv_Spare_Data_Log2Phy_Format() 2011-01-21 12:13:07 -08:00
ste_rmi4 Staging: Merge branch 'staging-next' into 2.6.38-rc3 2011-02-02 13:35:58 -08:00
ti-st drivers:staging: ti-st: delete old bt_drv driver 2011-01-20 15:58:17 -08:00
tidspbridge staging: tidspbridge: replace mbox callback with notifier_call 2011-01-20 12:19:47 -08:00
tm6000 Staging: Merge branch 'staging-next' into 2.6.38-rc3 2011-02-02 13:35:58 -08:00
usbip staging: usbip: vhci: use urb->dev->portnum to find port 2011-01-20 16:01:50 -08:00
usbvideo staging: usbvideo: vicam: Fix build in -next 2011-02-01 06:27:13 -08:00
vme Delete zero-length drivers/staging/vme/bridges/Module.symvers 2011-01-28 03:23:42 -05:00
vt6655 staging/vt6655: fix sparse warning "obsolete struct initializer" 2011-01-21 12:31:16 -08:00
vt6656 vt6656: Use request_firmware() to load firmware 2011-01-21 12:19:11 -08:00
westbridge Staging: Westbridge: added ioremap_nocache instead of phys_to_virt 2011-02-04 13:04:23 -08:00
winbond
wlags49_h2
wlags49_h25
wlan-ng Staging: wlan-ng: fixed packed checkpatch warnings 2011-02-04 13:04:24 -08:00
xgifb Staging: xgfib: put parenthesis in the right place 2011-01-20 12:01:23 -08:00
zram zram/xvmalloc: free bit block insertion optimization 2011-02-04 13:29:11 -08:00
Kconfig Revert "appletalk: move to staging" 2011-01-31 14:03:00 -08:00
Makefile Revert "appletalk: move to staging" 2011-01-31 14:03:00 -08:00
staging.c