1. 13 May, 2004 3 commits
    • David Mosberger's avatar
    • David Mosberger's avatar
      ia64: fix spurious "timer tick before it's due" problem · 7c323b14
      David Mosberger authored
      Patch Bjorn Helgaas: Fix the "timer tick before it's due" complaint
      from timer_interrupt().  The problem was that smp_callin() turned
      on the periodic timer tick before syncing the ITC with the BP.
      
      Syncing the ITC happens with interrupts disabled, and if you're
      unlucky enough to (1) pend a timer interrupt, and (2) set the ITC
      back before the ITM value that caused the timer interrupt, you
      can get stuck for several iterations in the following cycle
      (assume 100 clocks per tick):
      
          ITC     ITM
          ---	    ---
                          ia64_init_itm()
          100	    200	        schedule first tick at 200
                          ia64_sync_itc()
                              disable interrupts
          200     200         ITC == ITM; pend IT interrupt
          150                 set ITC to sync with BP
                              enable interrupts
                              recognize pending IT interrupt
                              disable IT interrupts
                          timer_interrupt()
          160     200         notice that 160 < 200,
                                  printk "timer tick before it's due")
          200     200         ITC == ITM; pend IT interrupt
      	    300         set ITM for next tick
                              re-enable IT interrupt
                              recognize pending IT interrupt
                              disable IT interrupts
                          timer_interrupt()
          260     300         notice that 260 < 300,
                                  printk "timer tick before it's due")
      
          ...	            repeat until you're tired or timer_interrupt()
                          takes long enough that the ITC lands after the
                          ITM
      
      This patch syncs the ITC with the BP before starting up the
      periodic tick, so the above scenario should never happen.
      
      This doesn't change how the timer tick on the BP is started;
      that happens quite early (and must be early because things
      like calibrate_delay() depend on jiffies updates).
      7c323b14
    • Stéphane Eranian's avatar
      [PATCH] ia64: switch /proc/perfmon to seq_file avoid buffer overflows · e3f32fdc
      Stéphane Eranian authored
      Switches /proc/perfmon to using the seq_file interface.  This is more
      inline with the rest of the kernel and avoid crashes for very large
      machine configurations.
      
      Based on patch by Dean Nelson.
      e3f32fdc
  2. 12 May, 2004 5 commits
  3. 11 May, 2004 1 commit
  4. 10 May, 2004 3 commits
  5. 09 May, 2004 13 commits
    • Linus Torvalds's avatar
      Linux 2.6.6 · 3dc567d8
      Linus Torvalds authored
      3dc567d8
    • Linus Torvalds's avatar
      Mark the ACPI CPU throttle and timer IO regions busy. · 7e941d4d
      Linus Torvalds authored
      This should help some laptops where the generic PCI
      code might otherwise believe that this range is unused.
      The ACPI IO range is usually not visible as a standard
      BAR.
      7e941d4d
    • Andi Kleen's avatar
      [PATCH] Fix x86-64 compilation without iommu for 2.6.6rc3 · c99ae253
      Andi Kleen authored
      Various people hit this in earlier kernels. The x86-64 kernel did not compile 
      without CONFIG_IOMMU_GART in various configurations. Just add the missing symbol 
      and export it. Also export iommu_merge while I am at it.
      c99ae253
    • Andi Kleen's avatar
      [PATCH] Fix machine check handler on x86-64 · 57bfa2c5
      Andi Kleen authored
      This fixes a bug in the new machine check handler on x86-64.
      
      One nasty part was that when you got an MCE during boot up
      then it would not always print it on the screen, but still
      panic because it attempted to kill the idle task.
      
      This patch does:
       - Always use KERN_EMERG when printing MCEs
       - Always panic and print on screen before killing idle loop
         or init.
      57bfa2c5
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · b81346bc
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      b81346bc
    • Russell King's avatar
      Merge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-sharp · 1d89057b
      Russell King authored
      into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-rmk
      1d89057b
    • Marc Singer's avatar
      [ARM PATCH] 1818/1: lh7a40x #2 (3/7) doc · f42083cc
      Marc Singer authored
      Patch from Marc Singer
      
      Documentation for the Sharp-LH machines.
      f42083cc
    • Marc Singer's avatar
      [ARM PATCH] 1817/1: lh7a40x #2 (2/7) core-include · a7c57d4a
      Marc Singer authored
      Patch from Marc Singer
      
      Include files for this updated lh7a40x patch set.  The changes in this
      set from the previous are mostly cosmetic.  The memory macros were
      reworked in order to be more similar to the other ARM versions.  The
      previous versions produced the same results, but the forms are
      slightly different.
      a7c57d4a
    • Marc Singer's avatar
      [ARM PATCH] 1816/1: lh7a40x #2 (1/7) core · 1c0c2783
      Marc Singer authored
      Patch from Marc Singer
      
      Updated change set for the 2.6.5 kernel *and* for the April 8th arm
      patch.  Also included are changes suggested by Russell that merge
      several of the files in the mach- directory.  I have also endeavored
      to remove all unnecessary whitespace additions.
      
      Note that since I've found the cause of an annoying user-space crash,
      I believe that this patch is OK.  The crash appears to have nothing to
      do with the system setup.
      1c0c2783
    • Tony Lindgren's avatar
      [ARM PATCH] 1847/1: OMAP update 2/2: include files · a263e250
      Tony Lindgren authored
      Patch from Tony Lindgren
      
      This patch syncs the mainline kernel with the linux-omap tree. The
      patch contains following updates:
      - Move virtual IO area to 0xfefb0000 from 0xfffb0000 to fix parts of
        IO area  overlapping with ARM Linux reserved memory area
      - Add support to OMAP-730, OMAP-5912, and OMAP-1710 processors
      - Reorganize board support
      - Add OMAP core detection
      This patch requires ARM Linux patch 1844/1 be applied to compile
      OMAP-730 and OMAP-5912
      a263e250
    • Tony Lindgren's avatar
      [ARM PATCH] 1846/1: OMAP update 1/2: arch files · 62b2119f
      Tony Lindgren authored
      Patch from Tony Lindgren
      
      This patch syncs the mainline kernel with the linux-omap tree. The
      patch contains following updates:
      - Move virtual IO area to 0xfefb0000 from 0xfffb0000 to fix parts of
        IO area overlapping with ARM Linux reserved memory area
      - Add support to OMAP-730, OMAP-5912, and OMAP-1710 processors
      - Reorganize board support
      - Add OMAP core detection
      This patch requires ARM Linux patch 1844/1 be applied to compile
      OMAP-730 and OMAP-5912
      62b2119f
    • Tony Lindgren's avatar
      [ARM PATCH] 1844/1: Allow OMAP-730 and OMAP-5910 to use ARM926 in mm/Kconfig · 78c4d584
      Tony Lindgren authored
      Patch from Tony Lindgren
      
      Adds OMAP-730 and OMAP-5910 support
      78c4d584
    • Armin Schindler's avatar
      [PATCH] ISDN Eicon driver: fix idi cleanup deadlock · 8f555e6d
      Armin Schindler authored
         On IDI module cleanup, the freed card must be removed from list.  
         Use list_empty() instead of list_for_each() loop. Thanks Linus.
      8f555e6d
  6. 08 May, 2004 15 commits
    • Linus Torvalds's avatar
      Waste less memory in dentries. · 293889f5
      Linus Torvalds authored
      We don't bother aligining them on a cacheline boundary, since
      that is totally excessive in some configurations (especially
      P4's with 128-byte cachelines).
      
      Instead, we make the minimum inline string size a bit longer,
      and re-order a few fields that allow for better packing on
      64-bit architectures, for better memory utilization.
      293889f5
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.6 · 82f1671a
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      82f1671a
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.6 · 0ef8ced2
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      0ef8ced2
    • Andrew Morton's avatar
      [PATCH] run populate_rootfs() before initcalls · 25714ddf
      Andrew Morton authored
      I moved this a little too late - we need to run populate_rootfs() before
      running initcalls because some driver initcalls need to open files for
      firmware.
      
      The populate_rootfs() call is still coming after init_idle(), so it won't
      knock the scheduler over.
      25714ddf
    • David S. Miller's avatar
      2b308273
    • David S. Miller's avatar
    • Stephen Hemminger's avatar
      [TCP]: BIC TCP for Linux 2.6.6 · 54d05783
      Stephen Hemminger authored
      This is a version of Binary Increase Control (BIC) TCP
      developed by NCSU.   It is yet another TCP congestion control
      algorithm for handling big fat pipes. For normal size congestion
      windows it behaves the same as existing TCP Reno, but when window
      is large it uses additive increase to ensure fairness and when
      window is small it uses binary search increase.
      
      For more details see the BIC TCP web page
       http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/
      
      The original code was for web100 (2.4); this version is pretty
      much the same but targeted for 2.6 with less sysctl parameters 
      and more constants.
      
      I don't have a real high speed long haul network to test, but
      when running over 1G links with delays, the performance is more stable
      (ie tests are repeatable) and as fast as existing Reno.
      54d05783
    • Sridhar Samudrala's avatar
      [SCTP]: Fix multihomed connection failures on 64-bit systems. · fbb3aa0d
      Sridhar Samudrala authored
      Avoid the use of sizeof() and pointer arithmetic to get to the end
      of sctp_cookie structure. Instead use the last element peer_init which
      is a zero-sized array as the offset.
      fbb3aa0d
    • David Stevens's avatar
      6619be03
    • James Morris's avatar
      [NET]: Add sock_create_lite() · 398b3c44
      James Morris authored
      The purpose of this is to allow sockets created by the kernel in this way
      to be passed through the LSM socket creation hooks and be labeled and
      mediated in the same manner as other sockets.
      
      This patches addresses a class of potential issues with LSMs, where such
      sockets will not be labeled correctly (if at all), or mediated during
      creation.  Under SELinux, it fixes a specific bug where RPC sockets
      created by the kernel during TCP NFS serving are unlabeled.
      398b3c44
    • James Morris's avatar
      [NET]: Add sock_create_kern() · e2943dca
      James Morris authored
      Under SELinux, and potentially other LSMs, we need to be able to
      distinguish between user sockets and kernel sockets.  For SELinux
      specifically, kernel sockets need to be specially labeled during creation,
      then bypass access control checks (they are controlled by the kernel
      itself and not subject to SELinux mediation).
      
      This addresses a class of potential issues in SELinux where, for example, 
      a TCP NFS session times out, then the kernel re-establishes an RPC 
      connection upon further user activity.  We do not want such kernel 
      created sockets to be labeled with user security contexts.
      
      sock_create() and sock_create_kern() are wrapper functions, which seems 
      semantically clearer to me than e.g. adding a flag to sock_create().  If 
      you prefer the latter, then let me know.
      
      The patch also adds an argument to the LSM socket creation functions
      indicating whether the socket being created is a kernel socket or not.
      e2943dca
    • David S. Miller's avatar
      Merge nuts.davemloft.net:/disk1/BK/network-2.6 · 49a1f4d4
      David S. Miller authored
      into nuts.davemloft.net:/disk1/BK/net-2.6
      49a1f4d4
    • Joshua Kwan's avatar
      [SPARC64]: Use $(CC) in NEW_GCC checks. · 812b724d
      Joshua Kwan authored
      812b724d
    • Benjamin Herrenschmidt's avatar
    • Andrew Morton's avatar
      [PATCH] fix WARN_ON on XFS module unload · 08faf52b
      Andrew Morton authored
      From: Christoph Hellwig <hch@lst.de>
      
      This one is a little funny.  The SGI trees don't show this issue because dmapi
      and quota are separate modules so they must be unloaded before xfs_fs_exit can
      be called at all.
      
      So let's move the exitcalls for them in mainline first to simulate that
      behaviour.
      08faf52b