Skip to content
  1. Oct 03, 2009
    • Vivek Goyal's avatar
      cfq-iosched: delay async IO dispatch, if sync IO was just done · 365722bb
      Vivek Goyal authored
      
      
      o Do not allow more than max_dispatch requests from an async queue, if some
        sync request has finished recently. This is in the hope that sync activity
        is still going on in the system and we might receive a sync request soon.
        Most likely from a sync queue which finished a request and we did not enable
        idling on it.
      
      Signed-off-by: default avatarVivek Goyal <vgoyal@redhat.com>
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
      365722bb
    • Jens Axboe's avatar
      cfq-iosched: add a knob for desktop interactiveness · 1d223515
      Jens Axboe authored
      
      
      This is basically identical to what Vivek Goyal posted, but combined
      into one and labelled 'desktop' instead of 'fairness'. The goal
      is to continue to improve on the latency side of things as it relates
      to interactiveness, keeping the questionable bits under this sysfs
      tunable so it would be easy for throughput-only people to turn off.
      
      Apart from adding the interactive sysfs knob, it also adds the
      behavioural change of allowing slice idling even if the hardware
      does tagged command queuing.
      
      Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
      1d223515
  2. Oct 02, 2009
  3. Sep 28, 2009
    • Linus Torvalds's avatar
      Linux 2.6.32-rc1 · 17d857be
      Linus Torvalds authored
      17d857be
    • Linus Torvalds's avatar
      alpha: Fix duplicate <asm/thread_info.h> include · b3b75cef
      Linus Torvalds authored
      .. duplicated by merging the same fix twice, for details see commit
      0d9df251 ("Merge
      git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes"
      
      )
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b3b75cef
    • Dave Young's avatar
      tty: Fix regressions caused by commit b50989dc · f278a2f7
      Dave Young authored
      The following commit made console open fails while booting:
      
      	commit b50989dc
      	Author: Alan Cox <alan@linux.intel.com>
      	Date:   Sat Sep 19 13:13:22 2009 -0700
      
      	tty: make the kref destructor occur asynchronously
      
      Due to tty release routines run in a workqueue now, error like the
      following will be reported while booting:
      
      INIT open /dev/console Input/output error
      
      It also causes hibernation regression to appear as reported at
      http://bugzilla.kernel.org/show_bug.cgi?id=14229
      
      
      
      The reason is that now there's latency issue with closing, but when
      we open a "closing not finished" tty, -EIO will be returned.
      
      Fix it as per the following Alan's suggestion:
      
        Fun but it's actually not a bug and the fix is wrong in itself as
        the port may be closing but not yet being destructed, in which case
        it seems to do the wrong thing.  Opening a tty that is closing (and
        could be closing for long periods) is supposed to return -EIO.
      
        I suspect a better way to deal with this and keep the old console
        timing is to split tty->shutdown into two functions.
      
        tty->shutdown() - called synchronously just before we dump the tty
        onto the waitqueue for destruction
      
        tty->cleanup() - called when the destructor runs.
      
        We would then do the shutdown part which can occur in IRQ context
        fine, before queueing the rest of the release (from tty->magic = 0
        ...  the end) to occur asynchronously
      
        The USB update in -next would then need a call like
      
             if (tty->cleanup)
                     tty->cleanup(tty);
      
        at the top of the async function and the USB shutdown to be split
        between shutdown and cleanup as the USB resource cleanup and final
        tidy cannot occur synchronously as it needs to sleep.
      
        In other words the logic becomes
      
             final kref put
                     make object unfindable
      
             async
                     clean it up
      
      Signed-off-by: default avatarDave Young <hidave.darkstar@gmail.com>
      [ rjw: Rebased on top of 2.6.31-git, reworked the changelog. ]
      Signed-off-by: default avatar"Rafael J. Wysocki" <rjw@sisk.pl>
      [ Changed serial naming to match new rules, dropped tty_shutdown as per
        comments from Alan Stern  - Linus ]
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f278a2f7
    • Linus Torvalds's avatar
      ACPI: kill "unused variable ‘i’" warning · 569ec4cc
      Linus Torvalds authored
      Commit 3d5b6fb4
      
       ("ACPI: Kill overly
      verbose "power state" log messages") removed the actual use of this
      variable, but didn't remove the variable itself, resulting in build
      warnings like
      
        drivers/acpi/processor_idle.c: In function ‘acpi_processor_power_init’:
        drivers/acpi/processor_idle.c:1169: warning: unused variable ‘i’
      
      Just get rid of the now unused variable.
      
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      569ec4cc
    • Alexey Dobriyan's avatar
      const: mark struct vm_struct_operations · f0f37e2f
      Alexey Dobriyan authored
      
      
      * mark struct vm_area_struct::vm_ops as const
      * mark vm_ops in AGP code
      
      But leave TTM code alone, something is fishy there with global vm_ops
      being used.
      
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      f0f37e2f