1. 27 6月, 2005 1 次提交
  2. 26 6月, 2005 1 次提交
    • C
      [PATCH] Cleanup patch for process freezing · 3e1d1d28
      Christoph Lameter 提交于
      1. Establish a simple API for process freezing defined in linux/include/sched.h:
      
         frozen(process)		Check for frozen process
         freezing(process)		Check if a process is being frozen
         freeze(process)		Tell a process to freeze (go to refrigerator)
         thaw_process(process)	Restart process
         frozen_process(process)	Process is frozen now
      
      2. Remove all references to PF_FREEZE and PF_FROZEN from all
         kernel sources except sched.h
      
      3. Fix numerous locations where try_to_freeze is manually done by a driver
      
      4. Remove the argument that is no longer necessary from two function calls.
      
      5. Some whitespace cleanup
      
      6. Clear potential race in refrigerator (provides an open window of PF_FREEZE
         cleared before setting PF_FROZEN, recalc_sigpending does not check
         PF_FROZEN).
      
      This patch does not address the problem of freeze_processes() violating the rule
      that a task may only modify its own flags by setting PF_FREEZE. This is not clean
      in an SMP environment. freeze(process) is therefore not SMP safe!
      Signed-off-by: NChristoph Lameter <christoph@lameter.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e1d1d28
  3. 16 5月, 2005 1 次提交
    • D
      [PATCH] wireless/airo: WEXT and quality corrections · 41480af2
      Dan Williams 提交于
      This patch brings the airo driver into line with the current
      WEXT specification of signal quality.  It also fixes the values
      used to determine signal quality and level for MPI & PCMCIA 350
      cards.  It turns out that BSSListRid.rssi was actually in dBm
      for 350 series cards, and that we can use the normalized
      signal strength reported by the card as our "quality" value, on
      a scale of 0 - 100.  Since signal level values are in dBm for
      this driver, max_qual->level MUST be 0, as specified in the WEXT
      spec.  This patch also uses the IW_QUAL constants new in WEXT
      version 17.
      Signed-off-by: NDan Williams <dcbw@redhat.com>
      41480af2
  4. 17 4月, 2005 2 次提交