trap_unaligned

Werner Koch wk at gnupg.org
Fri Oct 20 08:11:55 CEST 2000


On Fri, 20 Oct 2000, Michael Still wrote:

> What does trap_unaligned do?

Linuxcatches SIGBUSes and emulates theisunaligned memory access in
software.  This is very, very slow and when I first tested gpg on a
the fasted Alpha available at that time, I was wondering why it was
so slow - until the susadmin asked whether I still need the logfiles
with all the entries "unaligned memory access - emulated" :-)

There used to be a syscall which disables this emulation and gives
you a SIGBUS.


  Werner
  

-- 
Werner Koch				GnuPG key:  621CC013
OpenIT GmbH                             http://www.OpenIT.de



More information about the Gnupg-devel mailing list