Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 1995 15:09:08 -0700
From:      Bruce Evans <bde>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/scsi scsi_base.c
Message-ID:  <199507252209.PAA14963@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
bde         95/07/25 15:09:08

  Modified:    sys/scsi  scsi_base.c
  Log:
  Change memcmp() to bcmp().  memcmp() isn't declared or implemented
  for the kernel, but gcc provides an inline version of it if the
  kernel is compiled with -O.
  
  The inline memcmp() is OK for small compares and is better than
  the dumb kernel bcmp() in all cases, but it has been hiding the
  library memcmp() which is 4 times faster for large compares.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507252209.PAA14963>