1. 12 Apr, 2004 7 commits
    • Andrew Morton's avatar
      [PATCH] con_open() speedup/cleanup · c0719c5a
      Andrew Morton authored
      con_open() is called on every open of the tty, even if the tty is already all
      set up.  We only need to do that initialisation if the tty is being set up
      for the very first time (tty->count == 1).
      
      So do that: check for tty_count == 1 inside console_sem() and if so, bypass
      all the unnecessary initialisation.
      
      
      
      Note that this patch reintroduces the con_close()-vs-init_dev() race+oops. 
      This is because that oops is accidentally prevented because when it happens,
      con_open() reinstalls tty->driver_data even when tty->count > 1.
      
      But that's bogus, and when the race happens we end up running
      vcs_make_devfs() and vcs_remove_devfs() against the same console at the same
      time, producing indeterminate results.
      
      So the race needs to be fixed again, for real.
      c0719c5a
    • Andrew Morton's avatar
      [PATCH] vt.c cleanup · 49b8290a
      Andrew Morton authored
      - Remove unneeded casts of a void *
      
      - whitespace consistency.
      49b8290a
    • Andrew Morton's avatar
      [PATCH] generalise system_running · 0eb217f9
      Andrew Morton authored
      From: Olof Johansson <olof@austin.ibm.com>
      
      It's currently a boolean, but that means that system_running goes to zero
      again when shutting down.  So we then use code (in the page allocator) which
      is only designed to be used during bootup - it is marked __init.
      
      So we need to be able to distinguish early boot state from late shutdown
      state.  Rename system_running to system_state and give it the three
      appropriate states.
      0eb217f9
    • Andrew Morton's avatar
      [PATCH] feed devfs through Lindent · 243c64b2
      Andrew Morton authored
      Nobody seems to have any outstanding work against devfs, so...
      243c64b2
    • Andrew Morton's avatar
      [PATCH] Fix URLs in Kconfig files · 77b92f5b
      Andrew Morton authored
      From: Rusty Russell <rusty@rustcorp.com.au>
      
      From: "Petri T. Koistinen" <petri.koistinen@iki.fi>
      
      1) Various URLs in the Kconfig files are out of date: update them.
      
      2) URLs should be of form <http://url-goes-here>.
      
      3) References to files in the source should be of form
         <file:path-from-top>
      
      4) Email addresses should be of form <foo@bar.com>
      77b92f5b
    • Andrew Morton's avatar
      [PATCH] x86-64 update · 3dccf5d0
      Andrew Morton authored
      From: Andi Kleen <ak@muc.de>
      
      Current x86-64 patchkit for 2.6.5.
      
      - Add drivers/firmware/Kconfig
      
      - Clarify description of CONFIG_IOMMU_DEBUG
      
      - Use correct gcc option to optimize for Intel CPUs
      
      - Add EDD support (Matt Domsch)
      
      - Add workaround for broken IOMMU on VIA hardware.  Uses swiotlb there now.
      
      - Handle more than 8 local APICs (Suresh B Siddha) 
      
      - Delete obsolete mtrr Makefile
      
      - Add x86_cache_alignment and set it up properly for P4 (128 bytes instead
        of 64bytes).  Also report in /proc/cpuinfo
      
      - Minor cleanup in in_gate_area
      
      - Make asm-generic/dma-mapping.h compile with !CONFIG_PCI Just stub out all
        functions in this case.  This is mainly to work around sysfs.
      
      - More !CONFIG_PCI compile fixes
      
      - Make u64 sector_t unconditional
      3dccf5d0
    • Ivan Kokshaysky's avatar
      [PATCH] Fix unaligned stxncpy again · b5c7a2dd
      Ivan Kokshaysky authored
      Herbert Xu noted:
        "The current stxncpy on alpha is still broken when it comes to single
         word, unaligned, src misalignment > dest misalignment copies.
      
         I've attached a program which demonstrates this problem."
      
      Ugh, indeed. It fails when there is a zero byte before the data.
      Thanks.
      
      Here is the fix for this (both regular and ev6 version).
      b5c7a2dd
  2. 03 Apr, 2004 9 commits
  3. 02 Apr, 2004 11 commits
  4. 01 Apr, 2004 13 commits