]>
git.karo-electronics.de Git - karo-tx-linux.git/log
Konstantin Khlebnikov [Fri, 2 Dec 2011 03:06:45 +0000 (14:06 +1100)]
vmscan: use atomic-long for shrinker batching
Use atomic-long operations instead of looping around cmpxchg().
[akpm@linux-foundation.org: massage atomic.h inclusions]
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Konstantin Khlebnikov [Fri, 2 Dec 2011 03:06:44 +0000 (14:06 +1100)]
vmscan: fix initial shrinker size handling
A shrinker function can return -1, means that it cannot do anything
without a risk of deadlock. For example prune_super() does this if it
cannot grab a superblock refrence, even if nr_to_scan=0. Currently we
interpret this -1 as a ULONG_MAX size shrinker and evaluate `total_scan'
according to this. So the next time around this shrinker can cause really
big pressure. Let's skip such shrinkers instead.
Also make total_scan signed, otherwise the check (total_scan < 0) below
never works.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen Rothwell [Fri, 2 Dec 2011 03:03:34 +0000 (14:03 +1100)]
Merge remote-tracking branch 'kvmtool/master'
Conflicts:
include/net/9p/9p.h
scripts/kconfig/Makefile
Stephen Rothwell [Fri, 2 Dec 2011 02:56:47 +0000 (13:56 +1100)]
Merge remote-tracking branch 'vhost/linux-next'
Conflicts:
arch/hexagon/Kconfig
arch/m68k/Kconfig
Stephen Rothwell [Fri, 2 Dec 2011 02:55:18 +0000 (13:55 +1100)]
Merge remote-tracking branch 'pinctrl/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 02:48:59 +0000 (13:48 +1100)]
Merge remote-tracking branch 'writeback/writeback-for-next'
Stephen Rothwell [Fri, 2 Dec 2011 02:43:38 +0000 (13:43 +1100)]
Merge remote-tracking branch 'tmem/tmem'
Conflicts:
mm/swapfile.c
Stephen Rothwell [Fri, 2 Dec 2011 02:42:06 +0000 (13:42 +1100)]
Merge remote-tracking branch 'char-misc/char-misc-next'
Stephen Rothwell [Fri, 2 Dec 2011 02:40:31 +0000 (13:40 +1100)]
Merge remote-tracking branch 'staging/staging-next'
Conflicts:
drivers/hid/hid-hyperv.c
drivers/staging/hv/Kconfig
drivers/staging/hv/Makefile
drivers/staging/iio/adc/ad799x_core.c
drivers/staging/iio/industrialio-core.c
Stephen Rothwell [Fri, 2 Dec 2011 02:25:41 +0000 (13:25 +1100)]
Merge remote-tracking branch 'usb/usb-next'
Stephen Rothwell [Fri, 2 Dec 2011 02:23:47 +0000 (13:23 +1100)]
Merge remote-tracking branch 'tty/tty-next'
Conflicts:
drivers/tty/serial/Kconfig
drivers/tty/serial/Makefile
Stephen Rothwell [Fri, 2 Dec 2011 02:17:30 +0000 (13:17 +1100)]
Merge remote-tracking branch 'driver-core/driver-core-next'
Stephen Rothwell [Fri, 2 Dec 2011 02:16:00 +0000 (13:16 +1100)]
Merge remote-tracking branch 'hsi/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 02:14:29 +0000 (13:14 +1100)]
Merge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 02:12:57 +0000 (13:12 +1100)]
Merge remote-tracking branch 'namespace/master'
Stephen Rothwell [Fri, 2 Dec 2011 02:11:26 +0000 (13:11 +1100)]
Merge remote-tracking branch 'sysctl/master'
Stephen Rothwell [Fri, 2 Dec 2011 02:05:24 +0000 (13:05 +1100)]
Merge remote-tracking branch 'xen-two/linux-next'
Conflicts:
arch/x86/xen/Kconfig
Stephen Rothwell [Fri, 2 Dec 2011 02:04:01 +0000 (13:04 +1100)]
Merge remote-tracking branch 'xen/upstream/xen'
Conflicts:
arch/x86/xen/Kconfig
Stephen Rothwell [Fri, 2 Dec 2011 01:57:19 +0000 (12:57 +1100)]
Merge remote-tracking branch 'kmemleak/kmemleak'
Stephen Rothwell [Fri, 2 Dec 2011 01:50:30 +0000 (12:50 +1100)]
Merge remote-tracking branch 'uprobes/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:43:44 +0000 (12:43 +1100)]
Merge remote-tracking branch 'tip/auto-latest'
Conflicts:
arch/mips/kernel/perf_event_mipsxx.c
Stephen Rothwell [Fri, 2 Dec 2011 01:42:05 +0000 (12:42 +1100)]
Merge remote-tracking branch 'edac-amd/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:39:03 +0000 (12:39 +1100)]
Merge remote-tracking branch 'fsnotify/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:37:37 +0000 (12:37 +1100)]
Merge remote-tracking branch 'apm/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:30:48 +0000 (12:30 +1100)]
Merge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:28:09 +0000 (12:28 +1100)]
Merge remote-tracking branch 'trivial/for-next'
Conflicts:
arch/powerpc/platforms/40x/Kconfig
Stephen Rothwell [Fri, 2 Dec 2011 01:27:59 +0000 (12:27 +1100)]
Merge remote-tracking branch 'osd/linux-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:21:47 +0000 (12:21 +1100)]
Merge remote-tracking branch 'cputime/cputime'
Stephen Rothwell [Fri, 2 Dec 2011 01:20:26 +0000 (12:20 +1100)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Fri, 2 Dec 2011 01:18:58 +0000 (12:18 +1100)]
Merge remote-tracking branch 'watchdog/linux-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:16:16 +0000 (12:16 +1100)]
Merge remote-tracking branch 'security/next'
Conflicts:
lib/Makefile
Stephen Rothwell [Fri, 2 Dec 2011 01:14:49 +0000 (12:14 +1100)]
Merge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:13:19 +0000 (12:13 +1100)]
Merge remote-tracking branch 'fbdev/fbdev-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:11:46 +0000 (12:11 +1100)]
Merge remote-tracking branch 'drm/drm-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:10:10 +0000 (12:10 +1100)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:08:47 +0000 (12:08 +1100)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:08:38 +0000 (12:08 +1100)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:07:07 +0000 (12:07 +1100)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:05:41 +0000 (12:05 +1100)]
Merge remote-tracking branch 'battery/master'
Stephen Rothwell [Fri, 2 Dec 2011 01:04:09 +0000 (12:04 +1100)]
Merge remote-tracking branch 'block/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 01:02:35 +0000 (12:02 +1100)]
Merge remote-tracking branch 'input/next'
Conflicts:
drivers/input/keyboard/samsung-keypad.c
Stephen Rothwell [Fri, 2 Dec 2011 01:01:12 +0000 (12:01 +1100)]
Merge branch 'quilt/rr'
Stephen Rothwell [Fri, 2 Dec 2011 01:01:03 +0000 (12:01 +1100)]
Merge remote-tracking branch 'cpufreq/next'
Stephen Rothwell [Fri, 2 Dec 2011 00:59:34 +0000 (11:59 +1100)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:58:04 +0000 (11:58 +1100)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:56:31 +0000 (11:56 +1100)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:55:07 +0000 (11:55 +1100)]
Merge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:53:37 +0000 (11:53 +1100)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:51:52 +0000 (11:51 +1100)]
Merge remote-tracking branch 'wireless-next/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:45:59 +0000 (11:45 +1100)]
Merge remote-tracking branch 'net-next/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:42:19 +0000 (11:42 +1100)]
Merge remote-tracking branch 'slave-dma/next'
Conflicts:
drivers/dma/pl330.c
Stephen Rothwell [Fri, 2 Dec 2011 00:40:53 +0000 (11:40 +1100)]
Merge remote-tracking branch 'target-merge/for-next-merge'
Stephen Rothwell [Fri, 2 Dec 2011 00:39:24 +0000 (11:39 +1100)]
Merge remote-tracking branch 'dlm/next'
Stephen Rothwell [Fri, 2 Dec 2011 00:37:51 +0000 (11:37 +1100)]
Merge remote-tracking branch 'libata/NEXT'
Stephen Rothwell [Fri, 2 Dec 2011 00:37:47 +0000 (11:37 +1100)]
Merge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:36:21 +0000 (11:36 +1100)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:32:59 +0000 (11:32 +1100)]
Merge remote-tracking branch 'v4l-dvb/master'
Conflicts:
drivers/staging/media/as102/as102_drv.h
Stephen Rothwell [Fri, 2 Dec 2011 00:31:39 +0000 (11:31 +1100)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:30:23 +0000 (11:30 +1100)]
Merge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Fri, 2 Dec 2011 00:29:04 +0000 (11:29 +1100)]
Merge remote-tracking branch 'bjdooks-i2c/next-i2c'
Conflicts:
drivers/i2c/busses/i2c-designware-platdrv.c
Stephen Rothwell [Fri, 2 Dec 2011 00:27:27 +0000 (11:27 +1100)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:24:21 +0000 (11:24 +1100)]
Merge remote-tracking branch 'pci/linux-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:22:55 +0000 (11:22 +1100)]
Merge remote-tracking branch 'xfs/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:21:38 +0000 (11:21 +1100)]
Merge remote-tracking branch 'ubifs/linux-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:20:05 +0000 (11:20 +1100)]
Merge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:18:46 +0000 (11:18 +1100)]
Merge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:17:30 +0000 (11:17 +1100)]
Merge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:16:11 +0000 (11:16 +1100)]
Merge remote-tracking branch 'logfs/master'
Conflicts:
fs/logfs/file.c
Stephen Rothwell [Fri, 2 Dec 2011 00:14:37 +0000 (11:14 +1100)]
Merge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:14:32 +0000 (11:14 +1100)]
Merge remote-tracking branch 'ecryptfs/next'
Stephen Rothwell [Fri, 2 Dec 2011 00:13:15 +0000 (11:13 +1100)]
Merge remote-tracking branch 'cifs/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:11:52 +0000 (11:11 +1100)]
Merge remote-tracking branch 'xtensa/master'
Stephen Rothwell [Fri, 2 Dec 2011 00:10:30 +0000 (11:10 +1100)]
Merge remote-tracking branch 's390/features'
Stephen Rothwell [Fri, 2 Dec 2011 00:10:12 +0000 (11:10 +1100)]
Merge remote-tracking branch '52xx-and-virtex/powerpc/next'
Stephen Rothwell [Fri, 2 Dec 2011 00:08:54 +0000 (11:08 +1100)]
Merge remote-tracking branch '4xx/next'
Stephen Rothwell [Fri, 2 Dec 2011 00:06:26 +0000 (11:06 +1100)]
Merge remote-tracking branch 'powerpc/next'
Stephen Rothwell [Fri, 2 Dec 2011 00:05:05 +0000 (11:05 +1100)]
Merge remote-tracking branch 'parisc/for-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:03:16 +0000 (11:03 +1100)]
Merge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Fri, 2 Dec 2011 00:01:48 +0000 (11:01 +1100)]
Merge remote-tracking branch 'm68knommu/for-next'
Conflicts:
arch/m68k/Kconfig.debug
Stephen Rothwell [Fri, 2 Dec 2011 00:00:21 +0000 (11:00 +1100)]
Merge remote-tracking branch 'm68k/for-next'
Stephen Rothwell [Thu, 1 Dec 2011 23:59:05 +0000 (10:59 +1100)]
Merge remote-tracking branch 'ia64/next'
Stephen Rothwell [Thu, 1 Dec 2011 23:57:48 +0000 (10:57 +1100)]
Merge branch 'quilt/hexagon'
Stephen Rothwell [Thu, 1 Dec 2011 23:56:12 +0000 (10:56 +1100)]
Merge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Thu, 1 Dec 2011 23:50:53 +0000 (10:50 +1100)]
Merge remote-tracking branch 'c6x/for-linux-next'
Stephen Rothwell [Thu, 1 Dec 2011 23:49:29 +0000 (10:49 +1100)]
Merge remote-tracking branch 'tegra/for-next'
Stephen Rothwell [Thu, 1 Dec 2011 23:48:14 +0000 (10:48 +1100)]
Merge remote-tracking branch 's5p/for-next'
Conflicts:
arch/arm/mach-exynos/cpu.c
arch/arm/mach-exynos/include/mach/entry-macro.S
Stephen Rothwell [Thu, 1 Dec 2011 23:46:47 +0000 (10:46 +1100)]
Merge remote-tracking branch 'i.MX/for-next'
Conflicts:
arch/arm/mach-imx/clock-mx51-mx53.c
arch/arm/mach-imx/devices-imx53.h
arch/arm/mach-imx/mm-imx5.c
arch/arm/mach-mx5/Kconfig
arch/arm/mach-mx5/Makefile
arch/arm/mach-mx5/pm-imx5.c
arch/arm/plat-mxc/include/mach/hardware.h
Stephen Rothwell [Thu, 1 Dec 2011 23:40:03 +0000 (10:40 +1100)]
Merge remote-tracking branch 'arm-perf/for-next/perf'
Stephen Rothwell [Thu, 1 Dec 2011 23:38:42 +0000 (10:38 +1100)]
Merge remote-tracking branch 'arm-soc/for-next'
Conflicts:
arch/arm/mach-at91/at91cap9.c
arch/arm/mach-at91/at91sam9260.c
arch/arm/mach-at91/at91sam9261.c
arch/arm/mach-at91/at91sam9263.c
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9rl.c
arch/arm/mach-at91/setup.c
Stephen Rothwell [Thu, 1 Dec 2011 23:37:18 +0000 (10:37 +1100)]
Merge remote-tracking branch 'arm-lpae/for-next'
Conflicts:
arch/arm/include/asm/pgalloc.h
arch/arm/include/asm/pgtable.h
arch/arm/include/asm/tlb.h
arch/arm/mm/ioremap.c
Stephen Rothwell [Thu, 1 Dec 2011 23:31:27 +0000 (10:31 +1100)]
Merge remote-tracking branch 'arm/for-next'
Conflicts:
arch/arm/plat-omap/include/plat/common.h
arch/arm/tools/mach-types
Stephen Rothwell [Thu, 1 Dec 2011 23:27:55 +0000 (10:27 +1100)]
Merge remote-tracking branch 'staging.current/staging-linus'
Stephen Rothwell [Thu, 1 Dec 2011 23:27:54 +0000 (10:27 +1100)]
Merge remote-tracking branch 'usb.current/usb-linus'
Stephen Rothwell [Thu, 1 Dec 2011 23:27:52 +0000 (10:27 +1100)]
Merge remote-tracking branch 'wireless/master'
Stephen Rothwell [Thu, 1 Dec 2011 23:27:51 +0000 (10:27 +1100)]
Merge remote-tracking branch 'sound-current/for-linus'
Stephen Rothwell [Thu, 1 Dec 2011 23:27:50 +0000 (10:27 +1100)]
Merge remote-tracking branch 'net/master'
Stephen Rothwell [Thu, 1 Dec 2011 23:27:46 +0000 (10:27 +1100)]
Merge remote-tracking branch 'arm-current/fixes'
Keng-Yu Lin [Thu, 1 Dec 2011 23:04:23 +0000 (00:04 +0100)]
ACPI / PM: Do not save/restore NVS on Asus K54C/K54HR
The models do not resume correctly without acpi_sleep=nonvs.
Signed-off-by: Keng-Yu Lin <kengyu@canonical.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Akinobu Mita [Tue, 15 Nov 2011 22:56:34 +0000 (14:56 -0800)]
ocfs2: avoid unaligned access to dqc_bitmap
The dqc_bitmap field of struct ocfs2_local_disk_chunk is 32-bit aligned,
but not 64-bit aligned. The dqc_bitmap is accessed by ocfs2_set_bit(),
ocfs2_clear_bit(), ocfs2_test_bit(), or ocfs2_find_next_zero_bit(). These
are wrapper macros for ext2_*_bit() which need to take an unsigned long
aligned address (though some architectures are able to handle unaligned
address correctly)
So some 64bit architectures may not be able to access the dqc_bitmap
correctly.
This avoids such unaligned access by using another wrapper functions for
ext2_*_bit(). The code is taken from fs/ext4/mballoc.c which also need to
handle unaligned bitmap access.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Acked-by: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
Jeff Layton [Thu, 1 Dec 2011 21:44:39 +0000 (22:44 +0100)]
Freezer / sunrpc / NFS: don't allow TASK_KILLABLE sleeps to block the freezer
Allow the freezer to skip wait_on_bit_killable sleeps in the sunrpc
layer. This should allow suspend and hibernate events to proceed, even
when there are RPC's pending on the wire.
Also, wrap the TASK_KILLABLE sleeps in NFS layer in freezer_do_not_count
and freezer_count calls. This allows the freezer to skip tasks that are
sleeping while looping on EJUKEBOX or NFS4ERR_DELAY sorts of errors.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>