1. 18 5月, 2010 5 次提交
  2. 11 5月, 2010 1 次提交
  3. 29 4月, 2010 4 次提交
  4. 28 4月, 2010 14 次提交
  5. 27 4月, 2010 12 次提交
  6. 25 4月, 2010 4 次提交
    • A
      e100: Fix the TX workqueue race · 401da6ae
      Alan Cox 提交于
      Nothing stops the workqueue being left to run in parallel with close or a
      few other operations. This causes double unmaps and the like.
      
      See kerneloops.org #1041230 for an example
      Signed-off-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      401da6ae
    • D
      VMware Balloon driver · 453dc659
      Dmitry Torokhov 提交于
      This is a standalone version of VMware Balloon driver.  Ballooning is a
      technique that allows hypervisor dynamically limit the amount of memory
      available to the guest (with guest cooperation).  In the overcommit
      scenario, when hypervisor set detects that it needs to shuffle some
      memory, it instructs the driver to allocate certain number of pages, and
      the underlying memory gets returned to the hypervisor.  Later hypervisor
      may return memory to the guest by reattaching memory to the pageframes and
      instructing the driver to "deflate" balloon.
      
      We are submitting a standalone driver because KVM maintainer (Avi Kivity)
      expressed opinion (rightly) that our transport does not fit well into
      virtqueue paradigm and thus it does not make much sense to integrate with
      virtio.
      
      There were also some concerns whether current ballooning technique is the
      right thing.  If there appears a better framework to achieve this we are
      prepared to evaluate and switch to using it, but in the meantime we'd like
      to get this driver upstream.
      
      We want to get the driver accepted in distributions so that users do not
      have to deal with an out-of-tree module and many distributions have
      "upstream first" requirement.
      
      The driver has been shipping for a number of years and users running on
      VMware platform will have it installed as part of VMware Tools even if it
      will not come from a distribution, thus there should not be additional
      risk in pulling the driver into mainline.  The driver will only activate
      if host is VMware so everyone else should not be affected at all.
      Signed-off-by: NDmitry Torokhov <dtor@vmware.com>
      Cc: Avi Kivity <avi@redhat.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Ingo Molnar <mingo@elte.hu>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      453dc659
    • A
      w1: fix omap 1-wire driver compilation · 81fa08f2
      Amit Kucheria 提交于
      Fixes the following error:
      
        drivers/w1/masters/omap_hdq.c: In function 'hdq_wait_for_flag':
        drivers/w1/masters/omap_hdq.c:137: error: implicit declaration of function 'schedule_timeout_uninterruptible'
        drivers/w1/masters/omap_hdq.c: In function 'hdq_write_byte':
        drivers/w1/masters/omap_hdq.c:177: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
        drivers/w1/masters/omap_hdq.c:177: error: (Each undeclared identifier is reported only once
        drivers/w1/masters/omap_hdq.c:177: error: for each function it appears in.)
        drivers/w1/masters/omap_hdq.c:177: error: implicit declaration of function 'schedule_timeout'
        drivers/w1/masters/omap_hdq.c: In function 'hdq_isr':
        drivers/w1/masters/omap_hdq.c:221: error: 'TASK_NORMAL' undeclared (first use in this function)
        drivers/w1/masters/omap_hdq.c: In function 'omap_hdq_break':
        drivers/w1/masters/omap_hdq.c:316: error: 'TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
      Signed-off-by: NAmit Kucheria <amit.kucheria@canonical.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      81fa08f2
    • I
      w1: w1 temp: fix negative termperature calculation · 9a6a1ecd
      Ian Dall 提交于
      Fix regression caused by commit 507e2fba
      ("w1: w1 temp calculation overflow fix") whereby negative temperatures for
      the DS18B20 are not converted properly.
      
      When the temperature exceeds 32767 milli-degrees the temperature overflows
      to -32768 millidegrees.  These are both well within the -55 - +125 degree
      range for the sensor.
      
      Addresses https://bugzilla.kernel.org/show_bug.cgi?id=12646Signed-of-by: NIan Dall <ian@beware.dropbear.id.au>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Tested-by: NKarsten Elfenbein <kelfe@gmx.de>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9a6a1ecd