12 Nov, 2008

5 commits


30 Oct, 2008

1 commit


17 Oct, 2008

2 commits


16 Oct, 2008

1 commit


14 Oct, 2008

2 commits


11 Oct, 2008

1 commit

  • The map_to_7segment.h provides generic 7segment LED mappings and is
    designed to be used by other drivers. Moving it to common area will
    make it more usable. Also exporting it to userspace will help users
    of sysfs interface.

    Signed-off-by: Atsushi Nemoto
    Acked-by: Henk Vergonet
    Signed-off-by: Dmitry Torokhov

    Atsushi Nemoto
     

10 Oct, 2008

6 commits

  • Linus Torvalds
     
  • This is debatable, but while we're debating it, let's disallow the
    combination of splice and an O_APPEND destination.

    It's not entirely clear what the semantics of O_APPEND should be, and
    POSIX apparently expects pwrite() to ignore O_APPEND, for example. So
    we could make up any semantics we want, including the old ones.

    But Miklos convinced me that we should at least give it some thought,
    and that accepting writes at arbitrary offsets is wrong at least for
    IS_APPEND() files (which always have O_APPEND set, even if the reverse
    isn't true: you can obviously have O_APPEND set on a regular file).

    So disallow O_APPEND entirely for now. I doubt anybody cares, and this
    way we have one less gray area to worry about.

    Reported-and-argued-for-by: Miklos Szeredi
    Acked-by: Jens Axboe
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6:
    hwmon: (abituguru3) Enable DMI probing feature on Abit AT8 32X
    hwmon: (abituguru3) Enable reading from AUX3 fan on Abit AT8 32X
    hwmon: (adt7473) Fix some bogosity in documentation file
    hwmon: Define sysfs interface for energy consumption register
    hwmon: (it87) Prevent power-off on Shuttle SN68PT
    eeepc-laptop: Fix hwmon interface

    Linus Torvalds
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] correct broken links and email addresses

    Linus Torvalds
     
  • This fixes the previous fix, which was completely wrong on closer
    inspection. This version has been manually tested with a user-space
    test harness and generates sane values. A nearly identical patch has
    been boot-tested.

    The problem arose from changing how kmalloc/kfree handled alignment
    padding without updating ksize to match. This brings it in sync.

    Signed-off-by: Matt Mackall
    Signed-off-by: Linus Torvalds

    Matt Mackall
     
  • Replace the no longer working links and email address in the
    documentation and in source code.

    Signed-off-by: Márton Németh
    Signed-off-by: Dave Jones

    Németh Márton
     

09 Oct, 2008

13 commits


08 Oct, 2008

6 commits

  • Because of rounding, in certain conditions, i.e. when in congestion
    avoidance state rho is smaller than 1/128 of the current cwnd, TCP
    Hybla congestion control starves and the cwnd is kept constant
    forever.

    This patch forces an increment by one segment after #send_cwnd calls
    without increments(newreno behavior).

    Signed-off-by: Daniele Lacamera
    Signed-off-by: David S. Miller

    Daniele Lacamera
     
  • Benjamin Thery tracked down a bug that explains many instances
    of the error

    unregister_netdevice: waiting for %s to become free. Usage count = %d

    It turns out that netdev_run_todo can dead-lock with itself if
    a second instance of it is run in a thread that will then free
    a reference to the device waited on by the first instance.

    The problem is really quite silly. We were trying to create
    parallelism where none was required. As netdev_run_todo always
    follows a RTNL section, and that todo tasks can only be added
    with the RTNL held, by definition you should only need to wait
    for the very ones that you've added and be done with it.

    There is no need for a second mutex or spinlock.

    This is exactly what the following patch does.

    Signed-off-by: Herbert Xu
    Signed-off-by: David S. Miller

    Herbert Xu
     
  • David S. Miller
     
  • From: Ali Saidi

    When TCP receive copy offload is enabled it's possible that
    tcp_rcv_established() will cause two acks to be sent for a single
    packet. In the case that a tcp_dma_early_copy() is successful,
    copied_early is set to true which causes tcp_cleanup_rbuf() to be
    called early which can send an ack. Further along in
    tcp_rcv_established(), __tcp_ack_snd_check() is called and will
    schedule a delayed ACK. If no packets are processed before the delayed
    ack timer expires the packet will be acked twice.

    Signed-off-by: David S. Miller

    Ali Saidi
     
  • Jesper Dangaard Brouer reported a bug when setting a VLAN
    device down that is in promiscous mode:

    When the VLAN device is set down, the promiscous count on the real
    device is decremented by one by vlan_dev_stop(). When removing the
    promiscous flag from the VLAN device afterwards, the promiscous
    count on the real device is decremented a second time by the
    vlan_change_rx_flags() callback.

    The root cause for this is that the ->change_rx_flags() callback is
    invoked while the device is down. The synchronization is meant to mirror
    the behaviour of the ->set_rx_mode callbacks, meaning the ->open function
    is responsible for doing a full sync on open, the ->close() function is
    responsible for doing full cleanup on ->stop() and ->change_rx_flags()
    is meant to do incremental changes while the device is UP.

    Only invoke ->change_rx_flags() while the device is UP to provide the
    intended behaviour.

    Tested-by: Jesper Dangaard Brouer

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     
  • SLOB's ksize calculation was braindamaged and generally harmlessly
    underreported the allocation size. But for very small buffers, it could
    in fact overreport them, leading code depending on krealloc to overrun
    the allocation and trample other data.

    Signed-off-by: Matt Mackall
    Tested-by: Peter Zijlstra
    Signed-off-by: Linus Torvalds

    Matt Mackall
     

07 Oct, 2008

3 commits

  • This reverts commit 135aedc38e812b922aa56096f36a3d72ffbcf2fb, as
    requested by Hans Verkuil.

    It was a patch for 2.6.28 where the BKL was pushed down from v4l core to
    the drivers, not for 2.6.27!

    Requested-by: Hans Verkuil
    Cc: Mauro Carvalho Chehab
    Signed-of-by: Linus Torvalds

    Linus Torvalds
     
  • Linus Torvalds
     
  • * Theodore Ts'o (tytso@mit.edu) wrote:
    >
    > I've been playing with adding some markers into ext4 to see if they
    > could be useful in solving some problems along with Systemtap. It
    > appears, though, that as of 2.6.27-rc8, markers defined in code which is
    > compiled directly into the kernel (i.e., not as modules) don't show up
    > in Module.markers:
    >
    > kvm_trace_entryexit arch/x86/kvm/kvm-intel %u %p %u %u %u %u %u %u
    > kvm_trace_handler arch/x86/kvm/kvm-intel %u %p %u %u %u %u %u %u
    > kvm_trace_entryexit arch/x86/kvm/kvm-amd %u %p %u %u %u %u %u %u
    > kvm_trace_handler arch/x86/kvm/kvm-amd %u %p %u %u %u %u %u %u
    >
    > (Note the lack of any of the kernel_sched_* markers, and the markers I
    > added for ext4_* and jbd2_* are missing as wel.)
    >
    > Systemtap apparently depends on in-kernel trace_mark being recorded in
    > Module.markers, and apparently it's been claimed that it used to be
    > there. Is this a bug in systemtap, or in how Module.markers is getting
    > built? And is there a file that contains the equivalent information
    > for markers located in non-modules code?

    I think the problem comes from "markers: fix duplicate modpost entry"
    (commit d35cb360c29956510b2fe1a953bd4968536f7216)

    Especially :

    - add_marker(mod, marker, fmt);
    + if (!mod->skip)
    + add_marker(mod, marker, fmt);
    }
    return;
    fail:

    Here is a fix that should take care if this problem.

    Thanks for the bug report!

    Signed-off-by: Mathieu Desnoyers
    Tested-by: "Theodore Ts'o"
    CC: Greg KH
    CC: David Smith
    CC: Roland McGrath
    CC: Sam Ravnborg
    CC: Wenji Huang
    CC: Takashi Nishiie
    Signed-off-by: Linus Torvalds

    Mathieu Desnoyers