1. 21 6月, 2006 13 次提交
  2. 15 6月, 2006 19 次提交
  3. 13 6月, 2006 1 次提交
  4. 12 6月, 2006 7 次提交
    • P
      powerpc: Remove unused paca->pgdir field · 43064431
      Paul Mackerras 提交于
      The pgdir field in the paca was a leftover from the dynamic VSIDs
      patch, and is not used in the current kernel code.  This removes it.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      43064431
    • P
      Merge branch 'merge' · 7a0c58d0
      Paul Mackerras 提交于
      7a0c58d0
    • P
      [PATCH] Fix for the PPTP hangs that have been reported · 289a1e99
      Paul Mackerras 提交于
      People have been reporting that PPP connections over ptys, such as
      used with PPTP, will hang randomly when transferring large amounts of
      data, for instance in http://bugzilla.kernel.org/show_bug.cgi?id=6530.
      I have managed to reproduce the problem, and the patch below fixes the
      actual cause.
      
      The problem is not in fact in ppp_async.c but in n_tty.c.  What
      happens is that when pptp reads from the pty, we call read_chan() in
      drivers/char/n_tty.c on the master side of the pty.  That copies all
      the characters out of its buffer to userspace and then calls
      check_unthrottle(), which calls the pty unthrottle routine, which
      calls tty_wakeup on the slave side, which calls ppp_asynctty_wakeup,
      which calls tasklet_schedule.  So far so good.  Since we are in
      process context, the tasklet runs immediately and calls
      ppp_async_process(), which calls ppp_async_push, which calls the
      tty->driver->write function to send some more output.
      
      However, tty->driver->write() returns zero, because the master
      tty->receive_room is still zero.  We haven't returned from
      check_unthrottle() yet, and read_chan() only updates tty->receive_room
      _after_ calling check_unthrottle.  That means that the driver->write
      call in ppp_async_process() returns 0.  That would be fine if we were
      going to get a subsequent wakeup call, but we aren't (we just had it,
      and the buffer is now empty).
      
      The solution is for n_tty.c to update tty->receive_room _before_
      calling the driver unthrottle routine.  The patch below does this.
      With this patch I was able to transfer a 900MB file over a PPTP
      connection (taking about 25 minutes), whereas without the patch the
      connection would always stall in under a minute.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      289a1e99
    • L
      Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 · dc4967e7
      Linus Torvalds 提交于
      * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6:
        [PATCH] PCI: reverse pci config space restore order
        [PATCH] PCI: Improve PCI config space writeback
        [PATCH] PCI: Error handling on PCI device resume
        [PATCH] PCI: fix pciehp compile issue when CONFIG_ACPI is not enabled
      dc4967e7
    • C
      [PATCH] typo in vmscan.c · c0bbbc73
      Christoph Lameter 提交于
      From: Christoph Lameter <clameter@sgi.com>
      
      Looks like a comma was left from the conversion from a struct to an
      assignment.
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c0bbbc73
    • Y
      [PATCH] PCI: reverse pci config space restore order · 8b8c8d28
      Yu, Luming 提交于
      According to Intel ICH spec, there are several rules that Base Address
      should be programmed before IOSE  (PCICMD register ) enabled.
      
      For example ICH7:
      
      12.1.3  SATA : the base address register for the bus master register
                     should be programmed before this bit is set.
      
      11.1.3:  PCICMD (USB): The base address register for USB should be
                             programmed before this bit is set.
      ....
      
      To make sure kernel code follow this rule , and prevent unnecessary
      confusion. I proposal this patch.
      Signed-off-by: NLuming Yu <luming.yu@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8b8c8d28
    • D
      [PATCH] PCI: Improve PCI config space writeback · 04d9c1a1
      Dave Jones 提交于
      At least one laptop blew up on resume from suspend with a black screen due
      to a lack of this patch.  By only writing back config space that is
      different, we minimise the possibility of accidents like this.
      Signed-off-by: NDave Jones <davej@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      04d9c1a1