28 May, 2011

4 commits


27 May, 2011

3 commits


26 May, 2011

2 commits



24 May, 2011

5 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg/slab-2.6:
    slub: Deal with hyperthetical case of PAGE_SIZE > 2M
    slub: Remove node check in slab_free
    slub: avoid label inside conditional
    slub: Make CONFIG_DEBUG_PAGE_ALLOC work with new fastpath
    slub: Avoid warning for !CONFIG_SLUB_DEBUG
    slub: Remove CONFIG_CMPXCHG_LOCAL ifdeffery
    slub: Move debug handlign in __slab_free
    slub: Move node determination out of hotpath
    slub: Eliminate repeated use of c->page through a new page variable
    slub: get_map() function to establish map of free objects in a slab
    slub: Use NUMA_NO_NODE in get_partial
    slub: Fix a typo in config name

    Linus Torvalds
     
  • Conflicts:
    mm/slub.c

    Pekka Enberg
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging:
    hwmon: (coretemp) Fix checkpatch errors
    hwmon: Remove pkgtemp driver
    hwmon: (coretemp) Merge pkgtemp with coretemp
    hwmon: (pmbus) Add support for Analog Devices ADM1275
    hwmon: (pmbus) Support for TI UCD90xxx series Sequencer and System Health Controllers
    hwmon: (pmbus) Add support for TI UCD9200 series of PWM System Controllers
    hwmon: (pmbus) Use device specific function to read fan configuration
    hwmon: (pmbus) Expand scope of device specific get_status function
    hwmon: (pmbus) Introduce infrastructure to detect sensors and limit registers
    hwmon: Driver for MAX16065 System Manager and compatibles
    hwmon: (sht15) add support for CRC validation
    hwmon: (sht15) add support for the status register
    hwmon: (sht15) clean-up the probe function
    hwmon: (sht15) general code clean-up
    hwmon: Add support for MAX6642

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

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    perf tools: Fix sample size bit operations
    perf tools: Fix ommitted mmap data update on remap
    watchdog: Change the default timeout and configure nmi watchdog period based on watchdog_thresh
    watchdog: Disable watchdog when thresh is zero
    watchdog: Only disable/enable watchdog if neccessary
    watchdog: Fix rounding bug in get_sample_period()
    perf tools: Propagate event parse error handling
    perf tools: Robustify dynamic sample content fetch
    perf tools: Pre-check sample size before parsing
    perf tools: Move evlist sample helpers to evlist area
    perf tools: Remove junk code in mmap size handling
    perf tools: Check we are able to read the event size on mmap

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    b43: fix comment typo reqest -> request
    Haavard Skinnemoen has left Atmel
    cris: typo in mach-fs Makefile
    Kconfig: fix copy/paste-ism for dell-wmi-aio driver
    doc: timers-howto: fix a typo ("unsgined")
    perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
    md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
    treewide: fix a few typos in comments
    regulator: change debug statement be consistent with the style of the rest
    Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
    audit: acquire creds selectively to reduce atomic op overhead
    rtlwifi: don't touch with treewide double semicolon removal
    treewide: cleanup continuations and remove logging message whitespace
    ath9k_hw: don't touch with treewide double semicolon removal
    include/linux/leds-regulator.h: fix syntax in example code
    tty: fix typo in descripton of tty_termios_encode_baud_rate
    xtensa: remove obsolete BKL kernel option from defconfig
    m68k: fix comment typo 'occcured'
    arch:Kconfig.locks Remove unused config option.
    treewide: remove extra semicolons
    ...

    Linus Torvalds
     

23 May, 2011

16 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (346 commits)
    ASoC: core: Don't set "(null)" as a driver name
    ALSA: hda - Use LPIB for ATI/AMD chipsets as default
    Revert "ALSA: hda - Use position_fix=3 as default for AMD chipsets"
    ASoC: Tegra: Fix compile when debugfs not enabled
    ASoC: spdif-dit: Add missing MODULE_*
    SOUND: OSS: Remove Au1550 driver.
    ALSA: hda - add Intel Panther Point HDMI codec id
    ALSA: emu10k1 - Add dB range to Bass and Treble for SB Live!
    ALSA: hda - Remove PCM mixer elements from Virtual Master of realtek
    ALSA: hda - Fix input-src parse in patch_analog.c
    ASoC: davinci-mcasp: enable ping-pong SRAM buffers
    ASoC: add iPAQ hx4700 machine driver
    ASoC: Asahi Kasei AK4641 codec driver
    ALSA: hda - Enable Realtek ALC269 codec input layer beep
    ALSA: intel8x0m: enable AMD8111 modem
    ALSA: HDA: Add jack detection for HDMI
    ALSA: sound, core, pcm_lib: fix xrun_log
    ASoC: Max98095: Move existing NULL check before pointer dereference.
    ALSA: sound, core, pcm_lib: xrun_log: log also in_interrupt
    ALSA: usb-audio - Add support for USB X-Fi S51 Pro
    ...

    Linus Torvalds
     
  • * 'kvm-updates/2.6.40' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (131 commits)
    KVM: MMU: Use ptep_user for cmpxchg_gpte()
    KVM: Fix kvm mmu_notifier initialization order
    KVM: Add documentation for KVM_CAP_NR_VCPUS
    KVM: make guest mode entry to be rcu quiescent state
    KVM: x86 emulator: Make jmp far emulation into a separate function
    KVM: x86 emulator: Rename emulate_grpX() to em_grpX()
    KVM: x86 emulator: Remove unused arg from emulate_pop()
    KVM: x86 emulator: Remove unused arg from writeback()
    KVM: x86 emulator: Remove unused arg from read_descriptor()
    KVM: x86 emulator: Remove unused arg from seg_override()
    KVM: Validate userspace_addr of memslot when registered
    KVM: MMU: Clean up gpte reading with copy_from_user()
    KVM: PPC: booke: add sregs support
    KVM: PPC: booke: save/restore VRSAVE (a.k.a. USPRG0)
    KVM: PPC: use ticks, not usecs, for exit timing
    KVM: PPC: fix exit accounting for SPRs, tlbwe, tlbsx
    KVM: PPC: e500: emulate SVR
    KVM: VMX: Cache vmcs segment fields
    KVM: x86 emulator: consolidate segment accessors
    KVM: VMX: Avoid reading %rip unnecessarily when handling exceptions
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (27 commits)
    bnx2x: allow device properly initialize after hotplug
    bnx2x: fix DMAE timeout according to hw specifications
    bnx2x: properly handle CFC DEL in cnic flow
    bnx2x: call dev_kfree_skb_any instead of dev_kfree_skb
    net: filter: move forward declarations to avoid compile warnings
    pktgen: refactor pg_init() code
    pktgen: use vzalloc_node() instead of vmalloc_node() + memset()
    net: skb_trim explicitely check the linearity instead of data_len
    ipv4: Give backtrace in ip_rt_bug().
    net: avoid synchronize_rcu() in dev_deactivate_many
    net: remove synchronize_net() from netdev_set_master()
    rtnetlink: ignore NETDEV_RELEASE and NETDEV_JOIN event
    net: rename NETDEV_BONDING_DESLAVE to NETDEV_RELEASE
    bridge: call NETDEV_JOIN notifiers when add a slave
    netpoll: disable netpoll when enslave a device
    macvlan: Forward unicast frames in bridge mode to lowerdev
    net: Remove linux/prefetch.h include from linux/skbuff.h
    ipv4: Include linux/prefetch.h in fib_trie.c
    netlabel: Remove prefetches from list handlers.
    drivers/net: add prefetch header for prefetch users
    ...

    Fixed up prefetch parts: removed a few duplicate prefetch.h includes,
    fixed the location of the igb prefetch.h, took my version of the
    skbuff.h code without the extra parentheses etc.

    Linus Torvalds
     
  • * 'exec_rm_compat' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc:
    exec: document acct_arg_size()
    exec: unify do_execve/compat_do_execve code
    exec: introduce struct user_arg_ptr
    exec: introduce get_user_arg_ptr() helper

    Linus Torvalds
     
  • Before the conversion of the NMI watchdog to perf event, the
    watchdog timeout was 5 seconds. Now it is 60 seconds. For my
    particular application, netbooks, 5 seconds was a better
    timeout. With a short timeout, we catch faults earlier and are
    able to send back a panic. With a 60 second timeout, the user is
    unlikely to wait and will instead hit the power button, causing
    us to lose the panic info.

    This change configures the NMI period to watchdog_thresh and
    sets the softlockup_thresh to watchdog_thresh * 2. In addition,
    watchdog_thresh was reduced to 10 seconds as suggested by Ingo
    Molnar.

    Signed-off-by: Mandeep Singh Baines
    Cc: Marcin Slusarz
    Cc: Don Zickus
    Cc: Peter Zijlstra
    Cc: Frederic Weisbecker
    Link: http://lkml.kernel.org/r/1306127423-3347-4-git-send-email-msb@chromium.org
    Signed-off-by: Ingo Molnar
    LKML-Reference:

    Mandeep Singh Baines
     
  • This restores the previous behavior of softlock_thresh.

    Currently, setting watchdog_thresh to zero causes the watchdog
    kthreads to consume a lot of CPU.

    In addition, the logic of proc_dowatchdog_thresh and
    proc_dowatchdog_enabled has been factored into proc_dowatchdog.

    Signed-off-by: Mandeep Singh Baines
    Cc: Marcin Slusarz
    Cc: Don Zickus
    Cc: Peter Zijlstra
    Cc: Frederic Weisbecker
    Link: http://lkml.kernel.org/r/1306127423-3347-3-git-send-email-msb@chromium.org
    Signed-off-by: Ingo Molnar
    LKML-Reference:

    Mandeep Singh Baines
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ryusuke/nilfs2:
    nilfs2: use mark_buffer_dirty to mark btnode or meta data dirty
    nilfs2: always set back pointer to host inode in mapping->host
    nilfs2: get rid of NILFS_I_NILFS
    nilfs2: use list_first_entry
    nilfs2: use empty_aops for gc-inodes
    nilfs2: implement resize ioctl
    nilfs2: add truncation routine of segment usage file
    nilfs2: add routine to move secondary super block
    nilfs2: add ioctl which limits range of segment to be allocated
    nilfs2: zero fill unused portion of super root block
    nilfs2: super root size should change depending on inode size
    nilfs2: get rid of private page allocator
    nilfs2: merge list_del()/list_add_tail() to list_move_tail()

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6:
    ide/ide-scan-pci.c: Use for_each_pci_dev().
    ide: Use linux/mutex.h
    IDE: ide-floppy, remove unnecessary NULL check
    drivers/ide/pmac.c: Remove unnecessary casts of pci_get_drvdata
    ide: fix use after free in ide-acpi

    Linus Torvalds
     
  • Commit e66eed651fd1 ("list: remove prefetching from regular list
    iterators") removed the include of prefetch.h from list.h. The skbuff
    list traversal still had them.

    Quoth David Miller:
    "Please just remove the prefetches.

    Those are modelled after list.h as I intend to eventually convert
    SKB list handling to "struct list_head" but we're not there yet.

    Therefore if we kill prefetches from list.h we should kill it from
    these things in skbuff.h too."

    Requested-by: David Miller
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Get rid of this compile warning:

    In file included from arch/s390/kernel/compat_linux.c:37:0:
    include/linux/filter.h:139:23: warning: 'struct sk_buff' declared inside parameter list

    Signed-off-by: Heiko Carstens
    Signed-off-by: David S. Miller

    Heiko Carstens
     
  • The purpose of the check on data_len is to check linearity, so use the inline
    helper for this. No overhead and more explicit.

    Signed-off-by: Emmanuel Grumbach
    Signed-off-by: David S. Miller

    Emmanuel Grumbach
     
  • s/NETDEV_BONDING_DESLAVE/NETDEV_RELEASE/ as Andy suggested.

    Signed-off-by: WANG Cong
    Cc: Andy Gospodarek
    Cc: Neil Horman
    Signed-off-by: David S. Miller

    Amerigo Wang
     
  • V3: rename NETDEV_ENSLAVE to NETDEV_JOIN

    Currently we do nothing when we enslave a net device which is running netconsole.
    Neil pointed out that we may get weird results in such case, so let's disable
    netpoll on the device being enslaved. I think it is too harsh to prevent
    the device being ensalved if it is running netconsole.

    By the way, this patch also removes the NETDEV_GOING_DOWN from netconsole
    netdev notifier, because netpoll will check if the device is running or not
    and we don't handle NETDEV_PRE_UP neither.

    This patch is based on net-next-2.6.

    Signed-off-by: WANG Cong
    Cc: Neil Horman
    Signed-off-by: David S. Miller

    Amerigo Wang
     
  • No longer needed.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Noticed by Linus.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Fixes build errors on s390 and probably other archs as well:

    In file included from net/ipv4/ip_forward.c:32:0:
    include/net/udp.h: In function 'udp_csum_outgoing':
    include/net/udp.h:141:2: error: implicit declaration of function 'prefetch'

    Signed-off-by: Heiko Carstens
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

22 May, 2011

5 commits

  • KVM does not hold any references to rcu protected data when it switches
    CPU into a guest mode. In fact switching to a guest mode is very similar
    to exiting to userspase from rcu point of view. In addition CPU may stay
    in a guest mode for quite a long time (up to one time slice). Lets treat
    guest mode as quiescent state, just like we do with user-mode execution.

    Signed-off-by: Gleb Natapov
    Signed-off-by: Avi Kivity

    Gleb Natapov
     
  • * commit '29ce831000081dd757d3116bf774aafffc4b6b20': (34 commits)
    rcu: provide rcu_virt_note_context_switch() function.
    rcu: get rid of signed overflow in check_cpu_stall()
    rcu: optimize rcutiny
    rcu: prevent call_rcu() from diving into rcu core if irqs disabled
    rcu: further lower priority in rcu_yield()
    rcu: introduce kfree_rcu()
    rcu: fix spelling
    rcu: call __rcu_read_unlock() in exit_rcu for tree RCU
    rcu: Converge TINY_RCU expedited and normal boosting
    rcu: remove useless ->boosted_this_gp field
    rcu: code cleanups in TINY_RCU priority boosting.
    rcu: Switch to this_cpu() primitives
    rcu: Use WARN_ON_ONCE for DEBUG_OBJECTS_RCU_HEAD warnings
    rcu: mark rcutorture boosting callback as being on-stack
    rcu: add DEBUG_OBJECTS_RCU_HEAD check for alignment
    rcu: Enable DEBUG_OBJECTS_RCU_HEAD from !PREEMPT
    rcu: Add forward-progress diagnostic for per-CPU kthreads
    rcu: add grace-period age and more kthread state to tracing
    rcu: fix tracing bug thinko on boost-balk attribution
    rcu: update tracing documentation for new rcutorture and rcuboost
    ...

    Pulling in rcu_virt_note_context_switch().

    Signed-off-by: Avi Kivity

    * commit '29ce831000081dd757d3116bf774aafffc4b6b20': (34 commits)
    rcu: provide rcu_virt_note_context_switch() function.
    rcu: get rid of signed overflow in check_cpu_stall()
    rcu: optimize rcutiny
    rcu: prevent call_rcu() from diving into rcu core if irqs disabled
    rcu: further lower priority in rcu_yield()
    rcu: introduce kfree_rcu()
    rcu: fix spelling
    rcu: call __rcu_read_unlock() in exit_rcu for tree RCU
    rcu: Converge TINY_RCU expedited and normal boosting
    rcu: remove useless ->boosted_this_gp field
    rcu: code cleanups in TINY_RCU priority boosting.
    rcu: Switch to this_cpu() primitives
    rcu: Use WARN_ON_ONCE for DEBUG_OBJECTS_RCU_HEAD warnings
    rcu: mark rcutorture boosting callback as being on-stack
    rcu: add DEBUG_OBJECTS_RCU_HEAD check for alignment
    rcu: Enable DEBUG_OBJECTS_RCU_HEAD from !PREEMPT
    rcu: Add forward-progress diagnostic for per-CPU kthreads
    rcu: add grace-period age and more kthread state to tracing
    rcu: fix tracing bug thinko on boost-balk attribution
    rcu: update tracing documentation for new rcutorture and rcuboost
    ...

    Avi Kivity
     
  • Signed-off-by: Scott Wood
    Signed-off-by: Alexander Graf

    Scott Wood
     
  • Takashi Iwai
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
    firewire: sbp2: parallelize login, reconnect, logout
    firewire: sbp2: octlet AT payloads can be stack-allocated
    firewire: sbp2: omit Scsi_Host lock from queuecommand
    firewire: core: use non-reentrant workqueue with rescuer
    firewire: optimize iso queueing by setting wake only after the last packet
    firewire: octlet AT payloads can be stack-allocated
    firewire: ohci: optimize find_branch_descriptor()
    firewire: ohci: avoid separate DMA mapping for small AT payloads
    firewire: ohci: do not start DMA contexts before link is enabled

    Linus Torvalds
     

21 May, 2011

4 commits

  • kmalloc_index() currently returns -1 if the PAGE_SIZE is larger than 2M
    which seems to cause some concern since the callers do not check for -1.

    Insert a BUG() and add a comment to the -1 explaining that the code
    cannot be reached.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Pekka Enberg

    Christoph Lameter
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    libata: Power off empty ports
    libata-pmp: add support for Thermaltake BlackX Duet esata drive dock
    ATA: Don't powerdown Compaq Triflex IDE device on suspend
    libata: Use Maximum Write Same Length to report discard size limit
    drivers/ata/acard-ahci.c: fix enum warning
    pata_at91: SMC settings calculation bugfixes, support for t6z and IORDY
    libata-sff: prevent irq descriptions for dummy ports
    pata_cm64x: fix boot crash on parisc

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1446 commits)
    macvlan: fix panic if lowerdev in a bond
    tg3: Add braces around 5906 workaround.
    tg3: Fix NETIF_F_LOOPBACK error
    macvlan: remove one synchronize_rcu() call
    networking: NET_CLS_ROUTE4 depends on INET
    irda: Fix error propagation in ircomm_lmp_connect_response()
    irda: Kill set but unused variable 'bytes' in irlan_check_command_param()
    irda: Kill set but unused variable 'clen' in ircomm_connect_indication()
    rxrpc: Fix set but unused variable 'usage' in rxrpc_get_transport()
    be2net: Kill set but unused variable 'req' in lancer_fw_download()
    irda: Kill set but unused vars 'saddr' and 'daddr' in irlan_provider_connect_indication()
    atl1c: atl1c_resume() is only used when CONFIG_PM_SLEEP is defined.
    rxrpc: Fix set but unused variable 'usage' in rxrpc_get_peer().
    rxrpc: Kill set but unused variable 'local' in rxrpc_UDP_error_handler()
    rxrpc: Kill set but unused variable 'sp' in rxrpc_process_connection()
    rxrpc: Kill set but unused variable 'sp' in rxrpc_rotate_tx_window()
    pkt_sched: Kill set but unused variable 'protocol' in tc_classify()
    isdn: capi: Use pr_debug() instead of ifdefs.
    tg3: Update version to 3.119
    tg3: Apply rx_discards fix to 5719/5720
    ...

    Fix up trivial conflicts in arch/x86/Kconfig and net/mac80211/agg-tx.c
    as per Davem.

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] define "_sdata" symbol
    pstore: Fix Kconfig dependencies for apei->pstore
    pstore: fix potential logic issue in pstore read interface
    pstore: fix pstore filesystem mount/remount issue
    pstore: fix one type of return value in pstore
    [IA64] fix build warning in arch/ia64/oprofile/backtrace.c

    Linus Torvalds