31 Oct, 2008

4 commits

  • Nothing uses prepare_write or commit_write. Remove them from the tree
    completely.

    [akpm@linux-foundation.org: schedule simple_prepare_write() for unexporting]
    Signed-off-by: Nick Piggin
    Cc: Christoph Hellwig
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nick Piggin
     
  • - remove 'private' field from struct subsys
    - remove cgroup_init_smp()

    Signed-off-by: Li Zefan
    Acked-by: Paul Menage
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Li Zefan
     
  • Don't duplicate the implementation of thaw_process().

    [akpm@linux-foundation.org: make __thaw_process() static]
    Signed-off-by: Li Zefan
    Cc: Cedric Le Goater
    Acked-by: Matt Helsley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Li Zefan
     
  • By default, non-privileged tasks can only mlock() a small amount of
    memory to avoid a DoS attack by ordinary users. The Linux kernel
    defaulted to 32k (on a 4k page size system) to accommodate the needs of
    gpg.

    However, newer gpg2 needs 64k in various circumstances and otherwise
    fails miserably, see bnc#329675.

    Change the default to 64k, and make it more agnostic to PAGE_SIZE.

    Signed-off-by: Kurt Garloff
    Signed-off-by: Nick Piggin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kurt Garloff
     

29 Oct, 2008

3 commits

  • …nel/git/tip/linux-2.6-tip

    * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (31 commits)
    ftrace: fix current_tracer error return
    tracing: fix a build error on alpha
    ftrace: use a real variable for ftrace_nop in x86
    tracing/ftrace: make boot tracer select the sched_switch tracer
    tracepoint: check if the probe has been registered
    asm-generic: define DIE_OOPS in asm-generic
    trace: fix printk warning for u64
    ftrace: warning in kernel/trace/ftrace.c
    ftrace: fix build failure
    ftrace, powerpc, sparc64, x86: remove notrace from arch ftrace file
    ftrace: remove ftrace hash
    ftrace: remove mcount set
    ftrace: remove daemon
    ftrace: disable dynamic ftrace for all archs that use daemon
    ftrace: add ftrace warn on to disable ftrace
    ftrace: only have ftrace_kill atomic
    ftrace: use probe_kernel
    ftrace: comment arch ftrace code
    ftrace: return error on failed modified text.
    ftrace: dynamic ftrace process only text section
    ...

    Linus Torvalds
     
  • * 'kvm-updates/2.6.28' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
    KVM: ia64: Makefile fix for forcing to re-generate asm-offsets.h
    KVM: Future-proof device assignment ABI
    KVM: ia64: Fix halt emulation logic
    KVM: Fix guest shared interrupt with in-kernel irqchip
    KVM: MMU: sync root on paravirt TLB flush

    Linus Torvalds
     
  • …l/git/tip/linux-2.6-tip

    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched: fix documentation reference for sched_min_granularity_ns
    sched: virtual time buddy preemption
    sched: re-instate vruntime based wakeup preemption
    sched: weaken sync hint
    sched: more accurate min_vruntime accounting
    sched: fix a find_busiest_group buglet
    sched: add CONFIG_SMP consistency

    Linus Torvalds
     

28 Oct, 2008

3 commits

  • Reserve some space so we can add more data.

    Signed-off-by: Avi Kivity

    Avi Kivity
     
  • Every call of kvm_set_irq() should offer an irq_source_id, which is
    allocated by kvm_request_irq_source_id(). Based on irq_source_id, we
    identify the irq source and implement logical OR for shared level
    interrupts.

    The allocated irq_source_id can be freed by kvm_free_irq_source_id().

    Currently, we support at most sizeof(unsigned long) different irq sources.

    [Amit: - rebase to kvm.git HEAD
    - move definition of KVM_USERSPACE_IRQ_SOURCE_ID to common file
    - move kvm_request_irq_source_id to the update_irq ioctl]

    [Xiantao: - Add kvm/ia64 stuff and make it work for kvm/ia64 guests]

    Signed-off-by: Sheng Yang
    Signed-off-by: Amit Shah
    Signed-off-by: Xiantao Zhang
    Signed-off-by: Avi Kivity

    Sheng Yang
     
  • Right now callers have to check whether scsi_host->bqt is already
    set up, it's much cleaner to just have scsi_init_shared_tag_map()
    does this check on its own.

    Signed-off-by: Jens Axboe

    Jens Axboe
     

27 Oct, 2008

6 commits


25 Oct, 2008

2 commits


24 Oct, 2008

22 commits

  • Ingo Molnar
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
    PCI: remove unused resource assignment in pci_read_bridge_bases()
    PCI hotplug: shpchp: message refinement
    PCI hotplug: shpchp: replace printk with dev_printk
    PCI: add routines for debugging and handling lost interrupts
    PCI hotplug: pciehp: message refinement
    PCI: fix ARI code to be compatible with mixed ARI/non-ARI systems
    PCI hotplug: cpqphp: fix kernel NULL pointer dereference

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (29 commits)
    tcp: Restore ordering of TCP options for the sake of inter-operability
    net: Fix disjunct computation of netdev features
    sctp: Fix to handle SHUTDOWN in SHUTDOWN_RECEIVED state
    sctp: Fix to handle SHUTDOWN in SHUTDOWN-PENDING state
    sctp: Add check for the TSN field of the SHUTDOWN chunk
    sctp: Drop ICMP packet too big message with MTU larger than current PMTU
    p54: enable 2.4/5GHz spectrum by eeprom bits.
    orinoco: reduce stack usage in firmware download path
    ath5k: fix suspend-related oops on rmmod
    [netdrvr] fec_mpc52xx: Implement polling, to make netconsole work.
    qlge: Fix MSI/legacy single interrupt bug.
    smc911x: Make the driver safer on SMP
    smc911x: Add IRQ polarity configuration
    smc911x: Allow Kconfig dependency on ARM
    sis190: add identifier for Atheros AR8021 PHY
    8139x: reduce message severity on driver overlap
    igb: add IGB_DCA instead of selecting INTEL_IOATDMA
    igb: fix tx data corruption with transition to L0s on 82575
    ehea: Fix memory hotplug support
    netdev: DM9000: remove BLACKFIN hacking in DM9000 netdev driver
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
    math-emu: Fix thinko in _FP_DIV
    math-emu: Fix signalling of underflow and inexact while packing result.
    sparc: Add checkstack support
    sparc: correct section of current_pc()
    sparc: correct section of apc_no_idle
    sparc64: Fix race in arch/sparc64/kernel/trampoline.S

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds:
    leds/acpi: Fix merge fallout from acpi_driver_data change
    leds: Simplify logic in leds-ams-delta
    leds: Fix trigger registration race
    leds: Fix leds-class.c comment
    leds: Add driver for HP harddisk protection LEDs
    leds: leds-pca955x - Mark pca955x_led_set() static
    leds: Remove uneeded leds-cm-x270 driver
    leds: Remove uneeded strlen calls
    leds: Add leds-wrap default-trigger
    leds: Make default trigger fields const
    leds: Add backlight LED trigger
    leds: da903x: Add support for LEDs found on DA9030/DA9034

    Linus Torvalds
     
  • libata currently has a pretty dumb ATA_MAX_QUEUE loop for finding
    a free tag to use. Instead of fixing that up, convert libata to
    using block layer tagging - gets rid of code in libata, and is also
    much faster.

    Signed-off-by: Jens Axboe
    Acked-by: Tejun Heo
    Signed-off-by: Linus Torvalds

    Jens Axboe
     
  • We're getting a lot of storage drivers blamed for interrupt misrouting
    issues. This patch provides a standard way of reporting the problem
    ... and, if possible, correcting it.

    Signed-off-by: James Bottomley
    Signed-off-by: Jesse Barnes

    James Bottomley
     
  • * 'proc' of git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/proc: (35 commits)
    proc: remove fs/proc/proc_misc.c
    proc: move /proc/vmcore creation to fs/proc/vmcore.c
    proc: move pagecount stuff to fs/proc/page.c
    proc: move all /proc/kcore stuff to fs/proc/kcore.c
    proc: move /proc/schedstat boilerplate to kernel/sched_stats.h
    proc: move /proc/modules boilerplate to kernel/module.c
    proc: move /proc/diskstats boilerplate to block/genhd.c
    proc: move /proc/zoneinfo boilerplate to mm/vmstat.c
    proc: move /proc/vmstat boilerplate to mm/vmstat.c
    proc: move /proc/pagetypeinfo boilerplate to mm/vmstat.c
    proc: move /proc/buddyinfo boilerplate to mm/vmstat.c
    proc: move /proc/vmallocinfo to mm/vmalloc.c
    proc: move /proc/slabinfo boilerplate to mm/slub.c, mm/slab.c
    proc: move /proc/slab_allocators boilerplate to mm/slab.c
    proc: move /proc/interrupts boilerplate code to fs/proc/interrupts.c
    proc: move /proc/stat to fs/proc/stat.c
    proc: move rest of /proc/partitions code to block/genhd.c
    proc: move /proc/cpuinfo code to fs/proc/cpuinfo.c
    proc: move /proc/devices code to fs/proc/devices.c
    proc: move rest of /proc/locks to fs/locks.c
    ...

    Linus Torvalds
     
  • …inux/kernel/git/tip/linux-2.6-tip

    * 'v28-range-hrtimers-for-linus-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (37 commits)
    hrtimers: add missing docbook comments to struct hrtimer
    hrtimers: simplify hrtimer_peek_ahead_timers()
    hrtimers: fix docbook comments
    DECLARE_PER_CPU needs linux/percpu.h
    hrtimers: fix typo
    rangetimers: fix the bug reported by Ingo for real
    rangetimer: fix BUG_ON reported by Ingo
    rangetimer: fix x86 build failure for the !HRTIMERS case
    select: fix alpha OSF wrapper
    select: fix alpha OSF wrapper
    hrtimer: peek at the timer queue just before going idle
    hrtimer: make the futex() system call use the per process slack value
    hrtimer: make the nanosleep() syscall use the per process slack
    hrtimer: fix signed/unsigned bug in slack estimator
    hrtimer: show the timer ranges in /proc/timer_list
    hrtimer: incorporate feedback from Peter Zijlstra
    hrtimer: add a hrtimer_start_range() function
    hrtimer: another build fix
    hrtimer: fix build bug found by Ingo
    hrtimer: make select() and poll() use the hrtimer range feature
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/viro/bdev: (66 commits)
    [PATCH] kill the rest of struct file propagation in block ioctls
    [PATCH] get rid of struct file use in blkdev_ioctl() BLKBSZSET
    [PATCH] get rid of blkdev_locked_ioctl()
    [PATCH] get rid of blkdev_driver_ioctl()
    [PATCH] sanitize blkdev_get() and friends
    [PATCH] remember mode of reiserfs journal
    [PATCH] propagate mode through swsusp_close()
    [PATCH] propagate mode through open_bdev_excl/close_bdev_excl
    [PATCH] pass fmode_t to blkdev_put()
    [PATCH] kill the unused bsize on the send side of /dev/loop
    [PATCH] trim file propagation in block/compat_ioctl.c
    [PATCH] end of methods switch: remove the old ones
    [PATCH] switch sr
    [PATCH] switch sd
    [PATCH] switch ide-scsi
    [PATCH] switch tape_block
    [PATCH] switch dcssblk
    [PATCH] switch dasd
    [PATCH] switch mtd_blkdevs
    [PATCH] switch mmc
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (46 commits)
    [PATCH] fs: add a sanity check in d_free
    [PATCH] i_version: remount support
    [patch] vfs: make security_inode_setattr() calling consistent
    [patch 1/3] FS_MBCACHE: don't needlessly make it built-in
    [PATCH] move executable checking into ->permission()
    [PATCH] fs/dcache.c: update comment of d_validate()
    [RFC PATCH] touch_mnt_namespace when the mount flags change
    [PATCH] reiserfs: add missing llseek method
    [PATCH] fix ->llseek for more directories
    [PATCH vfs-2.6 6/6] vfs: add LOOKUP_RENAME_TARGET intent
    [PATCH vfs-2.6 5/6] vfs: remove LOOKUP_PARENT from non LOOKUP_PARENT lookup
    [PATCH vfs-2.6 4/6] vfs: remove unnecessary fsnotify_d_instantiate()
    [PATCH vfs-2.6 3/6] vfs: add __d_instantiate() helper
    [PATCH vfs-2.6 2/6] vfs: add d_ancestor()
    [PATCH vfs-2.6 1/6] vfs: replace parent == dentry->d_parent by IS_ROOT()
    [PATCH] get rid of on-stack dentry in udf
    [PATCH 2/2] anondev: switch to IDA
    [PATCH 1/2] anondev: init IDR statically
    [JFFS2] Use d_splice_alias() not d_add() in jffs2_lookup()
    [PATCH] Optimise NFS readdir hack slightly.
    ...

    Linus Torvalds
     
  • * 'x86/um-header' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (26 commits)
    x86: canonicalize remaining header guards
    x86: drop double underscores from header guards
    x86: Fix ASM_X86__ header guards
    x86, um: get rid of uml-config.h
    x86, um: get rid of arch/um/Kconfig.arch
    x86, um: get rid of arch/um/os symlink
    x86, um: get rid of excessive includes of uml-config.h
    x86, um: get rid of header symlinks
    x86, um: merge Kconfig.i386 and Kconfig.x86_64
    x86, um: get rid of sysdep symlink
    x86, um: trim the junk from uml ptrace-*.h
    x86, um: take vm-flags.h to sysdep
    x86, um: get rid of uml asm/arch
    x86, um: get rid of uml highmem.h
    x86, um: get rid of uml unistd.h
    x86, um: get rid of system.h -> system.h include
    x86, um: uml atomic.h is not needed anymore
    x86, um: untangle uml ldt.h
    x86, um: get rid of more uml asm/arch uses
    x86, um: remove dead header (uml module-generic.h; never used these days)
    ...

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (123 commits)
    dock: make dock driver not a module
    ACPI: fix ia64 build warning
    ACPI: hack around sysfs warning with link order
    ACPI suspend: fix build warning when CONFIG_ACPI_SLEEP=n
    intel_menlo: fix build warning
    panasonic-laptop: fix build
    ACPICA: Update version to 20080926
    ACPICA: Add support for zero-length buffer-to-string conversions
    ACPICA: New: Validation for predefined ACPI methods/objects
    ACPICA: Fix for implicit return compatibility
    ACPICA: Fixed a couple memory leaks associated with "implicit return"
    ACPICA: Optimize buffer allocation procedure
    ACPICA: Fix possible memory leak, error exit path
    ACPICA: Fix fault after mem allocation failure in AML parser
    ACPICA: Remove unused ACPI register bit definition
    ACPICA: Update version to 20080829
    ACPICA: Fix possible memory leak in acpi_ns_get_external_pathname
    ACPICA: Cleanup for internal Reference Object
    ACPICA: Update comments - no functional changes
    ACPICA: Update for Reference ACPI_OPERAND_OBJECT
    ...

    Linus Torvalds
     
  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (32 commits)
    PCI hotplug: fix logic in Compaq hotplug controller bus speed setup
    PCI: don't export linux/io.h from pci.h
    PCI: PCI_QUIRKS depends on PCI
    PCI hotplug: pciehp: poll data link layer link active
    PCI hotplug: pciehp: fix possible memory leak in pcie_init
    PCI: Workaround invalid P2P bridge bus numbers
    PCI Hotplug: fakephp: add duplicate slot name debugging
    PCI: Hotplug core: remove 'name'
    PCI: shcphp: remove 'name' parameter
    PCI: SGI Hotplug: stop managing bss_hotplug_slot->name
    PCI: rpaphp: kmalloc/kfree slot->name directly
    PCI: pciehp: remove 'name' parameter
    PCI: ibmphp: stop managing hotplug_slot->name
    PCI: fakephp: remove 'name' parameter
    PCI, PCI Hotplug: introduce slot_name helpers
    PCI: cpqphp: stop managing hotplug_slot->name
    PCI: cpci_hotplug: stop managing hotplug_slot->name
    PCI: acpiphp: remove 'name' parameter
    PCI: prevent duplicate slot names
    PCI Hotplug: serialize pci_hp_register and pci_hp_deregister
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
    9p: fix sparse warnings
    9p: rdma: RDMA Transport Support for 9P
    9p: fix format warning
    9p: fix debug build error

    Linus Torvalds
     
  • * 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
    i2c: Add info->archdata field
    i2c: Inform about deprecated chips directory
    i2c: Use pci_ioremap_bar()
    Schedule removal of the legacy i2c device driver binding model
    i2c: Clean up
    i2c: Update and clean up writing-clients document
    i2c: Drop 2-byte address block transfer defines
    i2c: Delete legacy model documentation
    i2c: Constify i2c_get_clientdata's parameter
    i2c: Delete outdated client porting guide
    i2c: Make clear what the class field of i2c_adapter is good for
    i2c-algo-pcf: Fix typo in debugging log message
    i2c-algo-pcf: Add adapter hooks around xfer begin and end
    i2c-algo-pcf: Pass adapter data into ->waitforpin() method
    i2c-i801: Add support for Intel Ibex Peak

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    stop_machine: fix error code handling on multiple cpus
    stop_machine: use workqueues instead of kernel threads
    workqueue: introduce create_rt_workqueue
    Call init_workqueues before pre smp initcalls.
    Make panic= and panic_on_oops into core_params
    Make initcall_debug a core_param
    core_param() for genuinely core kernel parameters
    param: Fix duplicate module prefixes
    module: check kernel param length at compile time, not runtime
    Remove stop_machine during module load v2
    module: simplify load_module.

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (36 commits)
    V4L/DVB (9336): cx88: always de-alloc frontends on fault condition
    V4L/DVB (9335): videobuf: split unregister bus creating self-contained frontend de-allocator
    V4L/DVB (9334): cx88: dvb_remove debug output
    V4L/DVB (9333): cx88: Not all boards that requires cx88-mpeg has frontends
    V4L/DVB (9332): cx88: initial fix for analogue only compilation
    V4L/DVB (9331): Remove unused inode parameter from video_ioctl2
    V4L/DVB (9330): Get rid of inode parameter at v4l_compat_translate_ioctl()
    V4L/DVB (9328): ivtvfb: FB_BLANK_POWERDOWN turns off video output
    V4L/DVB (9327): v4l: use video_device.num instead of minor in video%d
    V4L/DVB (9326): ivtv: avoid green flashing when loading ivtv
    V4L/DVB (9325): ivtv: switch to unlocked_ioctl.
    V4L/DVB (9324): v4l2: add video_ioctl2_unlocked for unlocked_ioctl support.
    V4L/DVB (9323): v4l2-int-if: Add enum_framesizes and enum_frameintervals ioctls.
    V4L/DVB (9322): v4l2-int-if: Export more interfaces to modules
    V4L/DVB (9321): v4l2-int-if: Define new power state changes
    V4L/DVB (9320): v4l2: Add 10-bit RAW Bayer formats
    V4L/DVB (9319): v4l2-int-if: Add cropcap, g_crop and s_crop commands.
    V4L/DVB (9318): v4l2-int-if: Add command to get slave private data.
    V4L/DVB (9316): s5h1411: Power down s5h1411 when not in use
    V4L/DVB (9315): s5h1411: Skip reconfiguring demod modulation if already at the desired modulation
    ...

    Linus Torvalds
     
  • * git://git.infradead.org/iommu-2.6:
    Admit to maintaining VT-d, for my sins.
    dmar: fix uninitialised 'ret' variable in dmar_parse_dev()
    intel-iommu: use coherent_dma_mask in alloc_coherent
    amd_iommu: fix nasty bug that caused ILLEGAL_DEVICE_TABLE_ENTRY errors
    intel-iommu: IA64 support
    dmar: remove the quirk which disables dma-remapping when intr-remapping enabled
    dmar: Use queued invalidation interface for IOTLB and context invalidation
    dmar: context cache and IOTLB invalidation using queued invalidation
    dmar: use spin_lock_irqsave() in qi_submit_sync()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm:
    dm: tidy local_init
    dm: remove unused flush_all
    dm raid1: separate region_hash interface part1
    dm: mark split bio as cloned
    dm crypt: remove waitqueue
    dm crypt: fix async split
    dm crypt: tidy sector
    dm: remove dm header from targets
    dm: publish array_too_big
    dm exception store: fix misordered writes
    dm exception store: refactor zero_area
    dm snapshot: drop unused last_percent
    dm snapshot: fix primary_pe race
    dm kcopyd: avoid queue shuffle

    Linus Torvalds
     
  • …l/git/tip/linux-2.6-tip

    * 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched: disable the hrtick for now
    sched: revert back to per-rq vruntime
    sched: fair scheduler should not resched rt tasks
    sched: optimize group load balancer
    sched: minor fast-path overhead reduction
    sched: fix the wrong mask_len, cleanup
    sched: kill unused scheduler decl.
    sched: fix the wrong mask_len
    sched: only update rq->clock while holding rq->lock

    Linus Torvalds
     
  • …git/tip/linux-2.6-tip

    * 'irq-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    genirq: NULL struct irq_desc's member 'name' in dynamic_irq_cleanup()
    genirq: fix off by one and coding style
    genirq: fix set_irq_type() when recording trigger type

    Linus Torvalds