1. 11 12月, 2006 9 次提交
  2. 10 12月, 2006 2 次提交
  3. 09 12月, 2006 6 次提交
  4. 08 12月, 2006 3 次提交
    • L
      Add "run_scheduled_work()" workqueue function · 68380b58
      Linus Torvalds 提交于
      This allows workqueue users to run just their own pending work, rather
      than wait for the whole workqueue to finish running.  This solves the
      deadlock with networking libphy that was due to other workqueue entries
      possibly needing a lock that was held by the routine that wanted to
      flush its own work.
      
      It's not wonderful: if you absolutely need to synchronize with the work
      function having been executed, any user strictly speaking should have
      its own completion tracking logic, since when we run things explicitly
      by hand, the generic workqueue layer can no longer help us synchronize.
      
      Also, this is strictly only usable for work that has been scheduled
      without any delayed timers.  You can not mix the new interface with
      schedule_delayed_work().
      
      But it's better than what we had currently.
      Acked-by: NMaciej W. Rozycki <macro@linux-mips.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      68380b58
    • R
      [PATCH] Pass struct dev pointer to dma_cache_sync() · d3fa72e4
      Ralf Baechle 提交于
      Pass struct dev pointer to dma_cache_sync()
      
      dma_cache_sync() is ill-designed in that it does not have a struct device
      pointer argument which makes proper support for systems that consist of a
      mix of coherent and non-coherent DMA devices hard.  Change dma_cache_sync
      to take a struct device pointer as first argument and fix all its callers
      to pass it.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d3fa72e4
    • N
      [PATCH] Add include/linux/freezer.h and move definitions from sched.h · 7dfb7103
      Nigel Cunningham 提交于
      Move process freezing functions from include/linux/sched.h to freezer.h, so
      that modifications to the freezer or the kernel configuration don't require
      recompiling just about everything.
      
      [akpm@osdl.org: fix ueagle driver]
      Signed-off-by: NNigel Cunningham <nigel@suspend2.net>
      Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
      Cc: Pavel Machek <pavel@ucw.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      7dfb7103
  5. 07 12月, 2006 20 次提交