1. 26 Sep, 2002 1 commit
  2. 25 Sep, 2002 20 commits
    • David S. Miller's avatar
      Merge master.kernel.org:/home/acme/BK/llc-2.5 · b0cb4be7
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      b0cb4be7
    • Arnaldo Carvalho de Melo's avatar
      [SNAP] make SNAP work again · 0cf604b1
      Arnaldo Carvalho de Melo authored
      Stupid me, this is really needed, IPX as it supports several datalink_protos
      and needs pt->type to find the right interface. Appletalk doesn't care, so
      it worked without this. And these are the only snap users in the kernel.
      0cf604b1
    • Arnaldo Carvalho de Melo's avatar
      c84af579
    • David S. Miller's avatar
      Merge nuts.ninka.net:/home/davem/src/BK/network-2.5 · 7ee01ca8
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      7ee01ca8
    • David S. Miller's avatar
      Merge master.kernel.org:/home/acme/BK/llc-2.5 · b4e17e9c
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      b4e17e9c
    • Jon Grimm's avatar
      Merge http://linux.bkbits.net/linux-2.5 · dd18325f
      Jon Grimm authored
      into jgrimm.austin.ibm.com:/home/jgrimm/bk/test.merge.38
      dd18325f
    • Jon Grimm's avatar
      SCTP: Resync with LKSCTP tree. · 372f525b
      Jon Grimm authored
      sctp: one more list_t removal.
      sctp: more whitespace cleanup (jgrimm)
      sctp: merge with linux bk tree
      sctp: Minor ABORT updates (ardelle.fan)  
      sctp: Fix misc. COOKIE-ECHO bundling bugs.  (jgrimm)
      
        There were small windows where the following could occur.
        -Two DATA chunks bundled with COOKIE-ECHO (only 1 allowed.)
        -DATA bundled with lost COOKIE-ECHO needs resent too.
        -DATA sent while in COOKIE-ECHOED if there had not been control data already bundled.
      
      sctp:  more updates for abort (jgrimm and ardelle.fan)
        
        Cleanup T5 upon abort.   Send COMM_LOST notification to ULP upon abort.
      
      sctp: updates to T5 shutdown timer.  (samudrala)
        
        I missed a couple changes from Sridhar's last patch.
      
      sctp: more ABORT, cleanup shutdown timers (ardelle.fan)
        
        When we send or receive an ABORT, there may be a variety of timers running. 
        Turn these timers off when we abort.
      
      sctp: Fix bug in COOKIE-ECHO retransmission.  (jgrimm)
          
        We had saved away the pointer directly to the INIT-ACK state cookie param, but upon COOKIE ECHO retransmission, this skb has already been thrown away.   The fix is to save away the cookie.
      
      sctp:  Unknown chunk processing. (daisyc)
        
        Each chunkheader contains the chunk type.  
        For forward compatiblity, 'action' bits in the type describe what action 
        the peer requests if one does not understand that chunk type.  This patch is to
        implement the handling of those 'unrecognized chunk' actions.
      
      sctp: Add T5 shutdown guard handling. (samudrala)
        
        The T5-shutdown-guard timer is used to bound the time we are willing to try gracefully shutting down.   This protects against certain pathological peers.
      
      sctp: Add msg_name support for notifications and PF_INET sockets. (jgrimm)
      372f525b
    • David S. Miller's avatar
      Merge master.kernel.org:/home/acme/BK/llc-2.5 · 2aceaa81
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      2aceaa81
    • Ingo Molnar's avatar
      [PATCH] exit-fix-2.5.38-E3 · 5dd6a6e5
      Ingo Molnar authored
      This fixes a number of bugs in the thread-release code:
      
       - notify parents only if the group leader is a zombie,
         and if it's not a detached thread.
      
       - do not reparent children to zombie tasks.
      
       - introduce the TASK_DEAD state for tasks, to serialize the task-release
         path. (to some it might be confusing that tasks are zombies first, then
         dead :-)
      
       - simplify tasklist_lock usage in release_task().
      
      the effect of the above bugs ranged from unkillable hung zombies to kernel
      crashes. None of those happens with the patch applied.
      5dd6a6e5
    • Jens Axboe's avatar
      [PATCH] remove elevator_linus · 2684cd69
      Jens Axboe authored
      Patch killing off elevator_linus for good. Sniffle.
      2684cd69
    • Jens Axboe's avatar
      [PATCH] deadline scheduler · 85b2148a
      Jens Axboe authored
      This introduces the deadline-ioscheduler, making it the default.  2nd
      patch coming that deletes elevator_linus in a minute.
      
      This one has read_expire at 500ms, and writes_starved at 2.
      85b2148a
    • Thomas Hood's avatar
      [PATCH] PnP BIOS ESCD sanity check · 650e56ee
      Thomas Hood authored
      Sanity checkthe ESCD size. From 2.4.
      650e56ee
    • Ivan Kokshaysky's avatar
      [PATCH] ALi and Cypress IDE fixes · 26b90050
      Ivan Kokshaysky authored
      These two chipsets are most common on alpha.
      - cy82c693: allow the generic IDE setup code to work correctly
        with broken PCI registers layout of this chip. This fixes
        quite a few problems with secondary channel, plus some hacks in
        arch code can go away.
      - ALi M5229: enable DMA.
      26b90050
    • Adam Radford's avatar
      [PATCH] 3ware driver update for 2.5.35 · 92f2c52c
      Adam Radford authored
      92f2c52c
    • Ingo Molnar's avatar
      [PATCH] pidhash-2.5.38-A0 · 5191a147
      Ingo Molnar authored
      This removes the cmpxchg from the PID allocator and replaces it with a
      spinlock.  This spinlock is hit only a couple of times per bootup, so
      it's not a performance issue.
      5191a147
    • Ingo Molnar's avatar
      [PATCH] thread-flock-2.5.38-A3 · a16435af
      Ingo Molnar authored
      Ulrich found another small detail wrt. POSIX requirements for threads -
      this time it's the recursion features (read-held lock being write-locked
      means an upgrade if the same 'process' is the owner, means a deadlock if a
      different 'process').
      
      this requirement even makes some sense - the group of threads who own a
      lock really own all rights to the lock as well.
      
      These changes fix this, all testcases pass now.  (inter-process
      testcases as well, which are not affected by this patch.)
      
      (SIGURG and SIGIO semantics should also continue to work - there's some
      more stuff we can optimize with the new pidhash in this area, but that's
      for later.)
      a16435af
    • Theodore Y. Ts'o's avatar
      [PATCH] loop device broken in 2.5.38 · 86b18ae3
      Theodore Y. Ts'o authored
      The loop device driver was broken in 2.5.38 when it was converted over
      to use gendisk.  I discovered this while doing final regression testing
      on the ext3 htree code.
      
      The problem is that figure_loop_size() is setting the capacity of the
      loop device in kilobytes (because that's what compute_loop_size()
      returns), but set_capacity() expects the size in 512 byte sectors.
      
      I've enclosed a patch which fixes the problem, as well as simplifying
      the code by eliminating compute_loop_size(), since it is a static
      function is only used once by figure_loop_size().
      86b18ae3
    • Arnaldo Carvalho de Melo's avatar
      [LLC] keep the skb in llc_sap_state_process · 0284d996
      Arnaldo Carvalho de Melo authored
      We have to hold the skb, because llc_sap_next_state
      will kfree it in the sending path and we need to
      look at the skb->cb, where we encode llc_sap_state_ev.
      0284d996
    • Dave Kleikamp's avatar
      Merge jfs@jfs.bkbits.net:linux-2.5 · 0de4d503
      Dave Kleikamp authored
      into kleikamp.austin.ibm.com:/home/shaggy/bk/jfs-2.5
      0de4d503
    • Arnaldo Carvalho de Melo's avatar
      [LLC] remove sap->mac_pdu_q, not used at all · c2af9bbd
      Arnaldo Carvalho de Melo authored
      Also remove some unneeded struct forward declarations.
      c2af9bbd
  3. 24 Sep, 2002 16 commits
    • Arnaldo Carvalho de Melo's avatar
      [LLC] use struct sock list members · 97ef8f8c
      Arnaldo Carvalho de Melo authored
      Now that we don't have anymore the double sock (PF_LLC + core) we can
      use struct sock list members.
      
      Also use use rw locks instead of spinlocks in some places.
      97ef8f8c
    • Paul Mackerras's avatar
      [PATCH] fix null dereference in sys_mprotect · 0cd9efe3
      Paul Mackerras authored
      As it is at the moment, sys_mprotect will dereference a null pointer
      if you use it on a region that is contained within the first vma.  I
      have a little program that demonstrates this (I'll post it if anyone
      is interested).  What happens then is that the process hangs in
      do_page_fault at the down_read on the mm->mmap_sem, since sys_mprotect
      has done a down_write on mm->mmap_sem.
      
      The problem is that mprotect_fixup isn't updating prev properly.  Thus
      we can finish the main loop in sys_mprotect with prev == NULL.  This
      has been the case since Christoph's cleanups went in.  Prior to that,
      mprotect_fixup always set prev to something non-NULL.  I suspect that
      not updating prev could also cause vmas to get dropped completely if
      the region being mprotected spans more than one vma.
      
      The patch below fixes the problem by making mprotect_fixup set prev to
      a reasonable value in all circumstances.
      0cd9efe3
    • Linus Torvalds's avatar
      efae82c0
    • Robert Love's avatar
      [PATCH] per-cpu data preempt-safing · c6e70088
      Robert Love authored
      This unsafe access to per-CPU data via reordering of instructions or use
      of "get_cpu()".
      
      Before anyone balks at the brlock.h fix, note this was in the
      alternative version of the code which is not used by default.
      c6e70088
    • Robert Love's avatar
      [PATCH] remove preempt workaround in slab.c · 7f644d00
      Robert Love authored
      Before the irqs_disabled() check in preempt_schedule(), we worked around
      some locking issues in slab.c.  Now that we will never preempt with
      interrupts disabled, we can remove those and clean things up.
      
      This is courtesy of Manfred Spraul.
      7f644d00
    • Robert Love's avatar
      [PATCH] s/preempt_count()/in_atomic() in do_exit() · 5d671309
      Robert Love authored
      This converts the debugging check in do_exit from a check on
      preempt_count() to in_atomic().
      
      The main benefit to this is we will stop warning over the BKL and now
      use the standard mechanism for such checks.
      5d671309
    • James Morris's avatar
    • David S. Miller's avatar
      Merge master.kernel.org:/home/acme/BK/llc-2.5 · 53153960
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      53153960
    • Matthew Wilcox's avatar
      [PATCH] flock_lock_file livelock fix · 0adfb15a
      Matthew Wilcox authored
      Looks like I dropped a hunk from my patchset, sorry.
      
      We never set FL_SLEEP in the flock case, so if we should block, we'll
      livelock instead.
      0adfb15a
    • Linus Torvalds's avatar
      Simplify elevator algorithm, make it prefer reads heavily. · a9ee74e7
      Linus Torvalds authored
      This is needed for reasonable read latency with the new VM
      behaviour. 
      
      NOTE! This is way too unfair, Andrew and Jens are working on
      alternatives.
      a9ee74e7
    • Ivan Kokshaysky's avatar
      [PATCH] another alpha update · 7f012496
      Ivan Kokshaysky authored
       - Makefile cleanups and fixes
       - a bunch of syscalls added
       - removed crap from asm/ide.h (it's not needed anymore)
       - __down_read_trylock fix
      7f012496
    • Linus Torvalds's avatar
      Merge with DRI CVS tree · 76f92de7
      Linus Torvalds authored
      76f92de7
    • Arnaldo Carvalho de Melo's avatar
      [LLC] clean up the ui sending routines and core · 9950c8fe
      Arnaldo Carvalho de Melo authored
      OK, now I managed to kill the last remnants of bloated structs from
      LLC, I feel better now :)
      
      Also deleted include/net/llc_{frame,name,state}.h, remnants of the
      old LLC stack still in the tree.
      9950c8fe
    • Jens Axboe's avatar
      [PATCH] ide io scheduler thing · 60abdcb3
      Jens Axboe authored
      IDE must use blk_queue_empty() and not do a list_empty() on the
      (potentially only) dispatch queue.  This took quite a while to find
      while debugging a new io scheduler...
      60abdcb3
    • Ingo Molnar's avatar
      [PATCH] pgrp-fix-2.5.38-A2 · 872aa4a8
      Ingo Molnar authored
      This fixes the emacs bug reported by Andries.  It should probably also
      fix other, terminal handling related weirdnesses introduced by the new
      PID handling code in 2.5.38.
      
      The bug was in the session_of_pgrp() function, if no proper session is
      found in the process group then we must take the session ID from the
      process that has pgrp PID (which does not necesserily have to be part of
      the pgrp).  The fallback code is only triggered when no process in the
      process group has a valid session - besides being faster, this also
      matches the old implementation.
      
      [ hey, who needs a POSIX conformance testsuite when we have emacs! ;) ]
      872aa4a8
    • Arnaldo Carvalho de Melo's avatar
      [LLC] kill sap->{ind,conf}, finally! · 71d24cc6
      Arnaldo Carvalho de Melo authored
      With this one the sap->ind and ->conf callbacks are gone, now the core
      is tightly integrated with the socket layer (PF_LLC) and the
      datalink_protos are mostly working like when the old LLC stack was
      in the kernel, i.e. without special receiving routines for IPX in
      802.2 mode, now I have to work on the UI sending routines to kill more
      stupid structs. 
      71d24cc6
  4. 23 Sep, 2002 3 commits