1. 21 Jun, 2007 3 commits
  2. 17 Jun, 2007 1 commit
  3. 16 Jun, 2007 27 commits
  4. 15 Jun, 2007 9 commits
    • Paul Mundt's avatar
      mm: Fix memory/cpu hotplug section mismatch and oops. · d09c6b80
      Paul Mundt authored
      When building with memory hotplug enabled and cpu hotplug disabled, we
      end up with the following section mismatch:
      
      WARNING: mm/built-in.o(.text+0x4e58): Section mismatch: reference to
      .init.text: (between 'free_area_init_node' and '__build_all_zonelists')
      
      This happens as a result of:
      
              -> free_area_init_node()
                -> free_area_init_core()
                  -> zone_pcp_init() <-- all __meminit up to this point
                    -> zone_batchsize() <-- marked as __cpuinit                     fo
      
      This happens because CONFIG_HOTPLUG_CPU=n sets __cpuinit to __init, but
      CONFIG_MEMORY_HOTPLUG=y unsets __meminit.
      
      Changing zone_batchsize() to __devinit fixes this.
      
      __devinit is the only thing that is common between CONFIG_HOTPLUG_CPU=y and
      CONFIG_MEMORY_HOTPLUG=y. In the long run, perhaps this should be moved to
      another section identifier completely. Without this, memory hot-add
      of offline nodes (via hotadd_new_pgdat()) will oops if CPU hotplug is
      not also enabled.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      Acked-by: default avatarYasunori Goto <y-goto@jp.fujitsu.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      
      --
      
       mm/page_alloc.c |    2 +-
       1 file changed, 1 insertion(+), 1 deletion(-)
      d09c6b80
    • Linus Torvalds's avatar
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 · 902233ee
      Linus Torvalds authored
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (30 commits)
        Blackfin SMC91X ethernet supporting driver: SMC91C111 LEDs are note drived in the kernel like in uboot
        Blackfin SPI driver: fix bug SPI DMA incomplete transmission
        Blackfin SPI driver: tweak spi cleanup function to match newer kernel changes
        Blackfin RTC drivers: update MAINTAINERS information
        Blackfin serial driver: decouple PARODD and CMSPAR checking from PARENB
        Blackfin serial driver: actually implement the break_ctl() function
        Blackfin serial driver: ignore framing and parity errors
        Blackfin serial driver: hook up our UARTs STP bit with userspaces CMSPAR
        Blackfin arch: move HI/LO macros into blackfin.h and punt the rest of macros.h as it includes VDSP macros we never use
        Blackfin arch: redo our linker script a bit
        Blackfin arch: make sure we initialize our L1 Data B section properly based on the linked kernel
        Blackfin arch: fix bug can not wakeup from sleep via push buttons
        Blackfin arch: add support for Alon Bar-Lev's dynamic kernel command-line
        Blackfin arch: add missing gpio.h header to fix compiling in some pm configurations
        Blackfin arch: As Mike pointed out range goes form m..MAX_BLACKFIN_GPIO -1
        Blackfin arch: fix spelling typo in output
        Blackfin arch: try to split up functions like this into smaller units according to LKML review
        Blackfin arch: add proper ENDPROC()
        Blackfin arch: move more of our startup code to .init so it can be freed once we are up and running
        Blackfin arch: unify differences between our diff head.S files -- no functional changes
        ...
      902233ee
    • Linus Torvalds's avatar
      Merge branch 'splice-2.6.22' of git://git.kernel.dk/data/git/linux-2.6-block · e871e3c2
      Linus Torvalds authored
      * 'splice-2.6.22' of git://git.kernel.dk/data/git/linux-2.6-block:
        splice: only check do_wakeup in splice_to_pipe() for a real pipe
        splice: fix leak of pages on short splice to pipe
        splice: adjust balance_dirty_pages_ratelimited() call
      e871e3c2
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm · 3ea88d67
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm:
        KVM: Prevent guest fpu state from leaking into the host
      3ea88d67
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · 4ff4275b
      Linus Torvalds authored
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
        [MIPS] Fix builds where MSC01E_xxx is undefined.
        [MIPS] Separate performance counter interrupts
        [MIPS] Malta: Fix for SOCitSC based Maltas
      4ff4275b
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32 · e00eea42
      Linus Torvalds authored
      * 'for-linus' of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32:
        [AVR32] Define ARCH_KMALLOC_MINALIGN to L1_CACHE_BYTES
        [AVR32] STK1000: Set SPI_MODE_3 in the ltv350qv board info
        [AVR32] gpio_*_cansleep() fix
        [AVR32] ratelimit segfault reporting rate
      e00eea42
    • Tejun Heo's avatar
      block: always requeue !fs requests at the front · bc90ba09
      Tejun Heo authored
      SCSI marks internal commands with REQ_PREEMPT and push it at the front
      of the request queue using blk_execute_rq().  When entering suspended
      or frozen state, SCSI devices are quiesced using
      scsi_device_quiesce().  In quiesced state, only REQ_PREEMPT requests
      are processed.  This is how SCSI blocks other requests out while
      suspending and resuming.  As all internal commands are pushed at the
      front of the queue, this usually works.
      
      Unfortunately, this interacts badly with ordered requeueing.  To
      preserve request order on requeueing (due to busy device, active EH or
      other failures), requests are sorted according to ordered sequence on
      requeue if IO barrier is in progress.
      
      The following sequence deadlocks.
      
      1. IO barrier sequence issues.
      
      2. Suspend requested.  Queue is quiesced with part or all of IO
         barrier sequence at the front.
      
      3. During suspending or resuming, SCSI issues internal command which
         gets deferred and requeued for some reason.  As the command is
         issued after the IO barrier in #1, ordered requeueing code puts the
         request after IO barrier sequence.
      
      4. The device is ready to process requests again but still is in
         quiesced state and the first request of the queue isn't
         REQ_PREEMPT, so command processing is deadlocked -
         suspending/resuming waits for the issued request to complete while
         the request can't be processed till device is put back into
         running state by resuming.
      
      This can be fixed by always putting !fs requests at the front when
      requeueing.
      
      The following thread reports this deadlock.
      
        http://thread.gmane.org/gmane.linux.kernel/537473Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
      Acked-by: default avatarDavid Greaves <david@dgreaves.com>
      Acked-by: default avatarJeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bc90ba09
    • Adrian Bunk's avatar
      [RXRPC] net/rxrpc/ar-connection.c: fix NULL dereference · 16c61add
      Adrian Bunk authored
      This patch fixes a NULL dereference spotted by the Coverity checker.
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      16c61add
    • Ilpo Järvinen's avatar
      [TCP]: Fix logic breakage due to DSACK separation · 7769f406
      Ilpo Järvinen authored
      Commit 6f74651a is found guilty
      of breaking DSACK counting, which should be done only for the
      SACK block reported by the DSACK instead of every SACK block
      that is received along with DSACK information.
      Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7769f406