git: kernel - mps driver - Adjust M_NOWAIT -> M_INTWAIT.

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 26 16:46:26 PDT 2013


commit 3eb4d33cb2e89951f45bf38c982fb7cc439e4d14
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Mar 26 16:45:25 2013 -0700

    kernel - mps driver - Adjust M_NOWAIT -> M_INTWAIT.
    
    * This (and many other drivers) really should not be using M_NOWAIT,
      which can fail trivially even when memory is available.  Use
      M_INTWAIT instead.

Summary of changes:
 sys/dev/raid/mps/mps_config.c  | 20 ++++++++++----------
 sys/dev/raid/mps/mps_mapping.c | 16 ++++++++--------
 sys/dev/raid/mps/mps_sas.c     |  6 +++---
 sys/dev/raid/mps/mps_sas_lsi.c |  6 +++---
 4 files changed, 24 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3eb4d33cb2e89951f45bf38c982fb7cc439e4d14


-- 
DragonFly BSD source repository



More information about the Commits mailing list