]>
git.karo-electronics.de Git - karo-tx-linux.git/log
Stephen Rothwell [Tue, 22 Nov 2011 05:59:54 +0000 (16:59 +1100)]
Merge remote-tracking branch 'kvmtool/master'
Conflicts:
include/net/9p/9p.h
scripts/kconfig/Makefile
Stephen Rothwell [Tue, 22 Nov 2011 05:58:23 +0000 (16:58 +1100)]
Merge remote-tracking branch 'pinctrl/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 05:52:13 +0000 (16:52 +1100)]
Merge remote-tracking branch 'writeback/writeback-for-next'
Stephen Rothwell [Tue, 22 Nov 2011 05:46:59 +0000 (16:46 +1100)]
Merge remote-tracking branch 'tmem/tmem'
Conflicts:
mm/swapfile.c
Stephen Rothwell [Tue, 22 Nov 2011 05:45:30 +0000 (16:45 +1100)]
Merge remote-tracking branch 'char-misc/char-misc-next'
Stephen Rothwell [Tue, 22 Nov 2011 05:43:32 +0000 (16:43 +1100)]
Merge remote-tracking branch 'usb/usb-next'
Stephen Rothwell [Tue, 22 Nov 2011 05:41:46 +0000 (16:41 +1100)]
Merge remote-tracking branch 'tty/tty-next'
Conflicts:
drivers/tty/serial/Kconfig
drivers/tty/serial/Makefile
drivers/tty/tty_ldisc.c
Stephen Rothwell [Tue, 22 Nov 2011 05:28:26 +0000 (16:28 +1100)]
Merge commit 'refs/next/
20111118 /driver-core'
Stephen Rothwell [Tue, 22 Nov 2011 05:12:17 +0000 (16:12 +1100)]
Merge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 05:10:49 +0000 (16:10 +1100)]
Merge remote-tracking branch 'namespace/master'
Stephen Rothwell [Tue, 22 Nov 2011 05:09:21 +0000 (16:09 +1100)]
Merge remote-tracking branch 'sysctl/master'
Stephen Rothwell [Tue, 22 Nov 2011 05:07:46 +0000 (16:07 +1100)]
Merge remote-tracking branch 'percpu/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 05:06:22 +0000 (16:06 +1100)]
Merge remote-tracking branch 'xen-two/linux-next'
Conflicts:
arch/x86/xen/Kconfig
Stephen Rothwell [Tue, 22 Nov 2011 04:41:57 +0000 (15:41 +1100)]
Merge remote-tracking branch 'xen/upstream/xen'
Conflicts:
arch/x86/xen/Kconfig
Stephen Rothwell [Tue, 22 Nov 2011 04:35:19 +0000 (15:35 +1100)]
Merge remote-tracking branch 'kmemleak/kmemleak'
Stephen Rothwell [Tue, 22 Nov 2011 04:28:30 +0000 (15:28 +1100)]
Merge remote-tracking branch 'tip/auto-latest'
Stephen Rothwell [Tue, 22 Nov 2011 04:25:23 +0000 (15:25 +1100)]
Merge remote-tracking branch 'fsnotify/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 04:20:13 +0000 (15:20 +1100)]
Merge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Tue, 22 Nov 2011 04:17:40 +0000 (15:17 +1100)]
Merge remote-tracking branch 'trivial/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 04:17:32 +0000 (15:17 +1100)]
Merge remote-tracking branch 'osd/linux-next'
Stephen Rothwell [Tue, 22 Nov 2011 04:11:25 +0000 (15:11 +1100)]
Merge remote-tracking branch 'cputime/cputime'
Stephen Rothwell [Tue, 22 Nov 2011 04:10:02 +0000 (15:10 +1100)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Tue, 22 Nov 2011 04:08:38 +0000 (15:08 +1100)]
Merge remote-tracking branch 'watchdog/linux-next'
Stephen Rothwell [Tue, 22 Nov 2011 04:05:56 +0000 (15:05 +1100)]
Merge remote-tracking branch 'security/next'
Stephen Rothwell [Tue, 22 Nov 2011 04:04:38 +0000 (15:04 +1100)]
Merge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 04:03:10 +0000 (15:03 +1100)]
Merge remote-tracking branch 'fbdev/fbdev-next'
Stephen Rothwell [Tue, 22 Nov 2011 03:51:28 +0000 (14:51 +1100)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 03:50:06 +0000 (14:50 +1100)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 03:49:58 +0000 (14:49 +1100)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Tue, 22 Nov 2011 03:48:29 +0000 (14:48 +1100)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Tue, 22 Nov 2011 03:47:06 +0000 (14:47 +1100)]
Merge remote-tracking branch 'battery/master'
Stephen Rothwell [Tue, 22 Nov 2011 03:45:37 +0000 (14:45 +1100)]
Merge remote-tracking branch 'block/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 03:44:09 +0000 (14:44 +1100)]
Merge remote-tracking branch 'input/next'
Conflicts:
drivers/input/keyboard/samsung-keypad.c
Stephen Rothwell [Tue, 22 Nov 2011 03:42:42 +0000 (14:42 +1100)]
Merge branch 'quilt/rr'
Stephen Rothwell [Tue, 22 Nov 2011 03:42:33 +0000 (14:42 +1100)]
Merge remote-tracking branch 'cpufreq/next'
Stephen Rothwell [Tue, 22 Nov 2011 03:41:02 +0000 (14:41 +1100)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 03:39:32 +0000 (14:39 +1100)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 03:38:02 +0000 (14:38 +1100)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Tue, 22 Nov 2011 03:36:44 +0000 (14:36 +1100)]
Merge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Tue, 22 Nov 2011 03:35:23 +0000 (14:35 +1100)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Tue, 22 Nov 2011 03:27:02 +0000 (14:27 +1100)]
Merge commit 'refs/next/
20111121 /wireless-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:58:45 +0000 (13:58 +1100)]
Merge remote-tracking branch 'net-next/master'
Stephen Rothwell [Tue, 22 Nov 2011 02:55:05 +0000 (13:55 +1100)]
Merge remote-tracking branch 'slave-dma/next'
Conflicts:
drivers/dma/pl330.c
Stephen Rothwell [Tue, 22 Nov 2011 02:53:41 +0000 (13:53 +1100)]
Merge remote-tracking branch 'target-merge/for-next-merge'
Stephen Rothwell [Tue, 22 Nov 2011 02:52:14 +0000 (13:52 +1100)]
Merge remote-tracking branch 'dlm/next'
Stephen Rothwell [Tue, 22 Nov 2011 02:50:50 +0000 (13:50 +1100)]
Merge remote-tracking branch 'infiniband/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:49:27 +0000 (13:49 +1100)]
Merge remote-tracking branch 'libata/NEXT'
Stephen Rothwell [Tue, 22 Nov 2011 02:49:24 +0000 (13:49 +1100)]
Merge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:47:56 +0000 (13:47 +1100)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:44:37 +0000 (13:44 +1100)]
Merge remote-tracking branch 'v4l-dvb/master'
Conflicts:
drivers/staging/media/as102/as102_drv.h
Stephen Rothwell [Tue, 22 Nov 2011 02:43:19 +0000 (13:43 +1100)]
Merge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Tue, 22 Nov 2011 02:42:00 +0000 (13:42 +1100)]
Merge remote-tracking branch 'bjdooks-i2c/next-i2c'
Conflicts:
drivers/i2c/busses/i2c-designware-platdrv.c
Stephen Rothwell [Tue, 22 Nov 2011 02:39:51 +0000 (13:39 +1100)]
Merge branch 'quilt/i2c'
Stephen Rothwell [Tue, 22 Nov 2011 02:38:35 +0000 (13:38 +1100)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:35:29 +0000 (13:35 +1100)]
Merge remote-tracking branch 'pci/linux-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:33:53 +0000 (13:33 +1100)]
Merge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:32:36 +0000 (13:32 +1100)]
Merge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:31:17 +0000 (13:31 +1100)]
Merge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:30:01 +0000 (13:30 +1100)]
Merge remote-tracking branch 'logfs/master'
Conflicts:
fs/logfs/file.c
Stephen Rothwell [Tue, 22 Nov 2011 02:28:29 +0000 (13:28 +1100)]
Merge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Tue, 22 Nov 2011 02:27:11 +0000 (13:27 +1100)]
Merge remote-tracking branch 'ecryptfs/next'
Stephen Rothwell [Tue, 22 Nov 2011 02:25:51 +0000 (13:25 +1100)]
Merge remote-tracking branch 'cifs/master'
Stephen Rothwell [Tue, 22 Nov 2011 02:24:30 +0000 (13:24 +1100)]
Merge remote-tracking branch 'xtensa/master'
Stephen Rothwell [Tue, 22 Nov 2011 02:23:12 +0000 (13:23 +1100)]
Merge remote-tracking branch 's390/features'
Stephen Rothwell [Tue, 22 Nov 2011 02:21:56 +0000 (13:21 +1100)]
Merge remote-tracking branch 'galak/next'
Stephen Rothwell [Tue, 22 Nov 2011 02:21:40 +0000 (13:21 +1100)]
Merge remote-tracking branch '52xx-and-virtex/powerpc/next'
Stephen Rothwell [Tue, 22 Nov 2011 02:20:19 +0000 (13:20 +1100)]
Merge remote-tracking branch 'parisc/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:18:29 +0000 (13:18 +1100)]
Merge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:17:08 +0000 (13:17 +1100)]
Merge remote-tracking branch 'm68knommu/for-next'
Conflicts:
arch/m68k/Kconfig.debug
Stephen Rothwell [Tue, 22 Nov 2011 02:15:44 +0000 (13:15 +1100)]
Merge remote-tracking branch 'm68k/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:14:28 +0000 (13:14 +1100)]
Merge remote-tracking branch 'ia64/next'
Stephen Rothwell [Tue, 22 Nov 2011 02:12:55 +0000 (13:12 +1100)]
Merge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:07:41 +0000 (13:07 +1100)]
Merge remote-tracking branch 'c6x/for-linux-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:06:23 +0000 (13:06 +1100)]
Merge remote-tracking branch 'tegra/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 02:05:03 +0000 (13:05 +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 [Tue, 22 Nov 2011 01:24:15 +0000 (12:24 +1100)]
Merge remote-tracking branch 'i.MX/for-next'
Conflicts:
arch/arm/mach-mx5/clock-mx51-mx53.c
arch/arm/mach-mx5/devices-imx53.h
arch/arm/mach-mx5/mm.c
arch/arm/plat-mxc/include/mach/hardware.h
Stephen Rothwell [Tue, 22 Nov 2011 01:22:48 +0000 (12:22 +1100)]
Merge remote-tracking branch 'at91/at91-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 [Tue, 22 Nov 2011 01:03:45 +0000 (12:03 +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 [Tue, 22 Nov 2011 00:47:49 +0000 (11:47 +1100)]
Merge remote-tracking branch 'arm/for-next'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:44 +0000 (11:41 +1100)]
Merge remote-tracking branch 'crypto-current/master'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:35 +0000 (11:41 +1100)]
Merge remote-tracking branch 'input-current/for-linus'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:34 +0000 (11:41 +1100)]
Merge remote-tracking branch 'char-misc.current/char-misc-linus'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:33 +0000 (11:41 +1100)]
Merge remote-tracking branch 'staging.current/staging-linus'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:32 +0000 (11:41 +1100)]
Merge remote-tracking branch 'usb.current/usb-linus'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:31 +0000 (11:41 +1100)]
Merge remote-tracking branch 'tty.current/tty-linus'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:31 +0000 (11:41 +1100)]
Merge remote-tracking branch 'driver-core.current/driver-core-linus'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:29 +0000 (11:41 +1100)]
Merge remote-tracking branch 'wireless/master'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:28 +0000 (11:41 +1100)]
Merge remote-tracking branch 'pci-current/for-linus'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:27 +0000 (11:41 +1100)]
Merge remote-tracking branch 'sound-current/for-linus'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:26 +0000 (11:41 +1100)]
Merge remote-tracking branch 'net/master'
Stephen Rothwell [Tue, 22 Nov 2011 00:41:23 +0000 (11:41 +1100)]
Merge remote-tracking branch 'arm-current/fixes'
Jacek Galowicz [Tue, 22 Nov 2011 00:09:01 +0000 (11:09 +1100)]
lguest: switch segment-voodoo-numbers to readable symbols
When studying lguest's x86 segment descriptor code, it is not longer
necessary to have the Intel x86 architecture manual open on the page
with the segment descriptor illustration to understand the crazy
numbers assigned to both descriptor structure halves a/b.
Now the struct desc_struct's fields, like suggested by
Glauber de Oliveira Costa in 2008, are used.
Signed-off-by: Jacek Galowicz <jacek@galowicz.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Kevin Cernekee [Sun, 13 Nov 2011 03:08:56 +0000 (19:08 -0800)]
module: Fix performance regression on modules with large symbol tables
Commit
554bdfe5acf3715e87c8d5e25a4f9a896ac9f014 (module: reduce string
table for loaded modules) introduced an optimization to shrink the size of
the resident string table. Part of this involves calling bitmap_weight()
on the strmap bitmap once for each core symbol. strmap contains one bit
for each byte of the module's strtab.
For kernel modules with a large number of symbols, the addition of the
bitmap_weight() operation to each iteration of the add_kallsyms() loop
resulted in a significant "insmod" performance regression from 2.6.31
to 2.6.32. bitmap_weight() is expensive when the bitmap is large.
The proposed alternative optimizes the common case in this loop
(is_core_symbol() == true, and the symbol name is not a duplicate), while
penalizing the exceptional case of a duplicate symbol.
My test was run on a 600 MHz MIPS processor, using a kernel module with
15,000 "core" symbols and 10,000 symbols in .init.text. .strtab takes up
250,227 bytes.
Original code: insmod takes 3.39 seconds
Patched code: insmod takes 0.07 seconds
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Kevin Cernekee [Sun, 13 Nov 2011 03:08:55 +0000 (19:08 -0800)]
module: Add comments describing how the "strmap" logic works
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell [Tue, 22 Nov 2011 00:09:00 +0000 (11:09 +1100)]
virtio: add debugging if driver doesn't kick.
Under the existing #ifdef DEBUG, check that they don't have more than
1/10 of a second between an add_buf() and a
virtqueue_notify()/virtqueue_kick_prepare() call.
We could get false positives on a really busy system, but good for
development.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell [Tue, 22 Nov 2011 00:09:00 +0000 (11:09 +1100)]
virtio: expose added descriptors immediately.
A virtio driver does virtqueue_add_buf() multiple times before finally
calling virtqueue_kick(); previously we only exposed the added buffers
in the virtqueue_kick() call. This means we don't need a memory
barrier in virtqueue_add_buf(), but it reduces concurrency as the
device (ie. host) can't see the buffers until the kick.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell [Tue, 22 Nov 2011 00:08:59 +0000 (11:08 +1100)]
virtio: avoid modulus operation.
Since we know vq->vring.num is a power of 2, modulus is lazy (it's asserted
in vring_new_virtqueue()).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell [Tue, 22 Nov 2011 00:08:59 +0000 (11:08 +1100)]
virtio: support unlocked queue kick
Based on patch by Christoph for virtio_blk speedup:
Split virtqueue_kick to be able to do the actual notification
outside the lock protecting the virtqueue. This patch was
originally done by Stefan Hajnoczi, but I can't find the
original one anymore and had to recreated it from memory.
Pointers to the original or corrections for the commit message
are welcome.
Stefan's patch was here:
https://github.com/stefanha/linux/commit/
a6d06644e3a58e57a774e77d7dc34c4a5a2e7496
http://www.spinics.net/lists/linux-virtualization/msg14616.html
Third time's the charm!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell [Tue, 22 Nov 2011 00:08:59 +0000 (11:08 +1100)]
virtio: rename virtqueue_add_buf_gfp to virtqueue_add_buf
Remove wrapper functions. This makes the allocation type explicit in
all callers; I used GPF_KERNEL where it seemed obvious, left it at
GFP_ATOMIC otherwise.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Rusty Russell [Tue, 22 Nov 2011 00:08:58 +0000 (11:08 +1100)]
virtio: document functions better.
The old documentation is left over from when we used a structure with
strategy pointers.
And move the documentation to the C file as per kernel practice.
Though I disagree...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Christoph Hellwig <hch@lst.de>