Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2010 16:05:09 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.bin/kdump kdump.c
Message-ID:  <201002181605.o1IG5MGu026036@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2010-02-18 16:05:09 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/kdump        kdump.c 
  Log:
  SVN rev 204045 on 2010-02-18 16:05:09Z by imp
  
  The kdump data stream is an unaligned data stream for stat and
  sockaddr structures.  As such, we have top copy the data structure
  into a local buffer before we can reference it, otherwise we have
  unaligned references (these are fixed up automatically on some CPUs,
  but not on others).  We do this unconditionally to make the code
  easier to read and understand.
  
  Submitted by:   Grzegorz Bernacki
  
  Revision  Changes    Path
  1.49      +9 -3      src/usr.bin/kdump/kdump.c



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