1. 05 Nov, 2002 1 commit
    • Ingo Molnar's avatar
      [PATCH] thread-aware coredumps, 2.5.43-C3 · d89f3847
      Ingo Molnar authored
      This is the second iteration of thread-aware coredumps.
      
      Changes:
      
      - Ulrich Drepper has reviewed the data structures and checked actual
        coredumps via readelf - everything looks fine and according to the spec.
      
      - a serious bug has been fixed in the thread-state dumping code - it was
        still based on the 2.4 assumption that the task struct points to the
        kernel stack - it's task->thread_info in 2.5. This bug caused bogus
        register info to be filled in for threads.
      
      - properly wait for all threads that share the same MM to serialize with
        the coredumping thread. This is CLONE_VM based, not tied to
        CLONE_THREAD and/or signal semantics, ie. old-style (or different-style)
        threaded apps will be properly stopped as well.
      
        The locking might look a bit complex, but i wanted to keep the
        __exit_mm() overhead as low as possible. It's not quite trivial to get
        these bits right, because 'sharing the MM' is detached from signals
        semantics, so we cannot rely on broadcast-kill catching all threads. So
        zap_threads() iterates through every thread and zaps those which were
        left out. (There's a minimal race left in where a newly forked child
        might escape the attention of zap_threads() - this race is fixed by the
        OOM fixes in the mmap-speedup patch.)
      
      - fill_psinfo() is now called with the thread group leader, for the
        coredump to get 'process' state.
      
       - initialize the elf_thread_status structure with zeroes.
      
      the IA64 ELF bits are not included, yet, to reduce complexity of the
      patch. The patch has been tested on x86 UP and SMP.
      d89f3847
  2. 15 Oct, 2002 12 commits
    • Linus Torvalds's avatar
      Linux v2.5.43 · 5a7728c6
      Linus Torvalds authored
      5a7728c6
    • David Howells's avatar
      [PATCH] AFS filesystem 2/2 · 67bb51b9
      David Howells authored
      Here's a patch to add an Andrew File System (AFS) driver to the kernel.
      Currently it only provides read-only, uncached, non-automounted and
      unsecured support.
      67bb51b9
    • David Howells's avatar
      [PATCH] AFS filesystem (1/2) · 3d970ece
      David Howells authored
      This adds RxRPC support to Linux for use by the AFS filesystem
      3d970ece
    • David Hinds's avatar
      [PATCH] Small PCMCIA patch · ce1fedaa
      David Hinds authored
      Someone adding tests for failed kmalloc's (which is fine in itself)
      did so in a way that would leave some PCMCIA data structures in
      inconsistent states... and also introduced a fatal bug affecting
      PCMCIA memory cards even when there are no kmalloc failures.
      ce1fedaa
    • Linus Torvalds's avatar
      Merge RCU / oprofile clashes · 2a4a59c1
      Linus Torvalds authored
      2a4a59c1
    • Dipankar Sarma's avatar
      [PATCH] Read-Copy Update infrastructure · 1477a825
      Dipankar Sarma authored
      This is the RCU core patch from akpm's tree. It has been in his
      tree since about 2.5.37-mm1 along with dcache_rcu and so far it has
      worked fine. For 2.5, I am hoping that we might get the following
      RCU patches included -
      
      1. rt_rcu - ipv4 routecache lookup. Davem agreed to include this patch
         if and when you include RCU core in your tree.
      
      2. dcache_rcu (by Maneesh Soni) - dcache lookup avoiding dcache_lock as
         much as possible. This has been akpm's tree - stable and gives us
         good yield. I have been submitting this to Viro and I will publish
         some more benchmark numbers later to help decide on this.
      
      This RCU core implements RCU APIs, call_rcu() and synchronize_kernel(),
      by monitoring a per-CPU quiescent state (idle/user etc.) counter.
      call_rcu() queues a callback to be invoked after all the CPUs have
      gone through a quiescent state. Queuing is per-CPU and each per-CPU
      batch gets a batch number. As batches get their turn, a global
      cpu mask is used to keep track of CPUs pending quiescent state.
      Checking for quiescent cycle is done by saving the per-CPU
      counter at the beginning of the batch and then monitoring it for change
      through the local timer interrupt handler.
      1477a825
    • Martin J. Bligh's avatar
      [PATCH] Summit: APIC ID mapping · 246f38c2
      Martin J. Bligh authored
      Adds a raw_phys_apicid array that maps from the mps cpu number
      to the apicid - this is needed because the apicids for Summit can be
      larger than 32, and thus won't fit into the bitmap. Also adds little wrappers
      to map neatly between the two.
      
      Bumps up MAX_APICS for Summit.
      246f38c2
    • Martin J. Bligh's avatar
      [PATCH] Summit: MPS table detection · 8d7dfcd0
      Martin J. Bligh authored
      Adds detection for summit machines from the MPS tables.
      Prints a handy-dandy debug message telling you what kind of twisted
      machine the kernel thinks you have.
      8d7dfcd0
    • Martin J. Bligh's avatar
      [PATCH] Summit: APIC limits · f0175f7f
      Martin J. Bligh authored
      This one sets up the apic broadcast id (the maximum allowable apic address)
      properly for whichever platform. It also abstracts out check_apicid_used,
      because that check doesn't work on Summit. Oh, and I bumped up
      MAX_IO_APICS, but only for NUMA x86 platforms.
      f0175f7f
    • Martin J. Bligh's avatar
      [PATCH] Summit: infrastructure · 603a61b5
      Martin J. Bligh authored
      This puts the DFR (desination format register) value into a #define, and
      calculates the LDR (logical desitination register) correctly dependant
      on platform. Similarly for TARGET_CPUS.
      603a61b5
    • Martin J. Bligh's avatar
      [PATCH] Summit: config options and hooks · 9e2a5993
      Martin J. Bligh authored
      This just adds the config option for summit, and it's Config.help entry,
      puts the hooks for the new mach_apic.h subarch file into the right
      places, and creates empty shells of the header files.
      9e2a5993
    • Linus Torvalds's avatar
      Merge http://linux-sound.bkbits.net/linux-sound · b8877144
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      b8877144
  3. 16 Oct, 2002 1 commit
  4. 15 Oct, 2002 26 commits
    • Jaroslav Kysela's avatar
      ALSA update · 79611bfd
      Jaroslav Kysela authored
        - fixed compilation of ioctl32 from David S. Miller
      79611bfd
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sparc-2.5 · 975d6b21
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      975d6b21
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · c6147b42
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      c6147b42
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · caa71871
      Trond Myklebust authored
      This patch defines a new switch in fs/Config.in -
        CONFIG_NFS_V4:  enables nfsv4 client
      caa71871
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · bf5344dc
      Trond Myklebust authored
      Now that all the hooks are in place, this large patch imports all
      of the new code for the NFSv4 client.
        nfs4proc.c   - procedure vectors
        nfs4xdr.c    - XDR
        nfs4state.c  - state bookkeeping (very minimal for now)
        nfs4renewd.c - a daemon (implemented as an rpc_task) to keep
                       state from expiring on the server
      
      Note: The RPCSEC_GSS authentication code is not yet included here.
        For the moment we make do with AUTH_UNIX aka. AUTH_SYS.
      
        Neither is the code to do upcalls to userland in order to do
        uid/gid <-> name mappings. Instead, stubs have been added to
        translate everything to 'nobody:nobody' == '-2:-2'
      bf5344dc
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · ee17e0d6
      Trond Myklebust authored
      Define the new NFSv4 data structure for passing user information
      from the 'mount' program in nfs4_mount.h.
      
      If CONFIG_NFS_V4 is defined
              Add code to parse the mount structure into the superblock.
              Declare the NFSv4 filesystem to the VFS.
      ee17e0d6
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · b354d917
      Trond Myklebust authored
      Further cleanups
      
      Separate the static and dynamic filesystem data retrieval calls as per the
      NFSv3 spec. This also simplifies things for NFSv4, since many of the
      attributes in the fsinfo+fstat combined call are not mandatory to
      implement.
      b354d917
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · e078deae
      Trond Myklebust authored
      Clean up nfs_fill_super().
      
      Separate the parsing of the nfs_mount_data struct and the
      initialization + sanity checking of the resulting super_block.
      The latter is now performed in the new function nfs_sb_init().
      e078deae
    • Art Haas's avatar
      [PATCH] C99 designated initializers for arch/sh · 431121f4
      Art Haas authored
      431121f4
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/hch/BK/xfs/linux-2.5 · b2016928
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      b2016928
    • Gerd Knorr's avatar
      [PATCH] bttv driver compile fix · 5178e637
      Gerd Knorr authored
      It is just a missing include, fixed thus..
      5178e637
    • Linus Torvalds's avatar
      Merge bk://are.twiddle.net/axp-2.5 · 65bb28e0
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      65bb28e0
    • Randy Dunlap's avatar
      [PATCH] 2.5.42 Doc/kernel-parameters · ee597d31
      Randy Dunlap authored
      Updates/corrects Documentation/kernel-parameters.txt file.
      ee597d31
    • Peter Chubb's avatar
      [PATCH] Compile failure (gcc 2.96 bug?). 2.5.42 raid0.c · 356c3c30
      Peter Chubb authored
      Yes it's a GCC optimiser bug.  I'm surprised I didn't see it: I tried
      a whole heap of different compilers on that code, and had problems
      only on the earlier similar code in raid0_run().
      
      I didn't try redhat's compilers (I run debian) but didn't expect the
      behaviour to be that different.
      
      Anyway, please apply this patch (which also fixes the chunk overlap
      problems).
      356c3c30
    • Tim Wright's avatar
      [PATCH] Forward port of 2.4 fsync_buffers_list() fix. · de1c3893
      Tim Wright authored
      there was a bug in fysnc_buffers_list() in 2.4 (fixed in 2.4.19) that
      could cause the function to return without having written the current
      contents of all the buffers.
      
      Obviously, this could be bad for anybody relying on ordering using
      O_SYNC or fsync().  If an I/O was already in flight for a particular bh
      at the time of the call to fsync_buffers_list(), ll_rw_block() will not
      initiate a new I/O even though the contents may have changed.  It is
      therefore necessary to wait before the call.  Here's a patch against
      2.5.42 that applies the same fix.
      de1c3893
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk · 4c34d455
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      4c34d455
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/scsi-update · 98378c38
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      98378c38
    • Doug Ledford's avatar
      [PATCH] two driver updates, one core update · 3e0f6303
      Doug Ledford authored
      Rename queue_depth to current_queue_depth so that:
      
      A) we represent the true purpose of the variable
      B) we catch anyone using it wrongly
      3e0f6303
    • Doug Ledford's avatar
      [PATCH] dpt_i2o TCQ update · ca07380f
      Doug Ledford authored
      This patch for dpt_i2o fixes TCQ stuff, but doesn't solve DMA mapping
      issues (so it still doesn't work, but it's not because of TCQ).
      
      Getting around to fixing DMA mapping API issues is much more work per
      driver than the TCQ stuff, so I'm putting it off until later.
      
      dpti.h:
        Update template
      dpt_i2o.c:
        Update to new TCQ scheme
      ca07380f
    • Doug Ledford's avatar
      [PATCH] more driver updates (aic7xxx) · 1642bf82
      Doug Ledford authored
      aic7xxx_linux_host.h:
        Update host template
      aic7xxx_linux.c:
        Update to new TCQ scheme
      1642bf82
    • Doug Ledford's avatar
      [PATCH] more driver updates (aacraid) · 5b7526f3
      Doug Ledford authored
      linit.c:
        Update to use slave_attach
      5b7526f3
    • Doug Ledford's avatar
      [PATCH] eata TCQ update · a0a05dcb
      Doug Ledford authored
      eata.h:
        Update template
      eata.c:
        Add slave_attach and new TCQ method
      a0a05dcb
    • Doug Ledford's avatar
      [PATCH] qla1280 TCQ update · 95e38aa0
      Doug Ledford authored
      qla1280.h:
        Update device template
      qla1280.c:
        Update to use slave_attach for setting queue depth
      95e38aa0
    • Doug Ledford's avatar
      [PATCH] Advansys TCQ update · 7ec7888b
      Doug Ledford authored
      advansys.h:
        Update host template to include slave_attach
      advansys.c:
        Update to use slave_attach instead of select_queue_depths
      7ec7888b
    • Doug Ledford's avatar
      [PATCH] SCSI update · f14d4f58
      Doug Ledford authored
      drivers/scsi/esp.c:
        Fix the build.
      scsi.h:
        Add struct list_head items for future (but soon) use
      hosts.h:
        Remove select_queue_depths from host struct, add struct list
        stuff for proper list linking of host structs
      hosts.c:
        Don't touch select_queue_depths any longer
      f14d4f58
    • Doug Ledford's avatar
      [PATCH] ips TCQ update · 491e5fa1
      Doug Ledford authored
      ips.h:
        Since we now have proper tagged depth setting, make
        the cmd_per_lun value reasonable for untagged devices
        like it is suppossed to be.
      491e5fa1