trap_unaligned

Werner Koch wk@gnupg.org
Fri, 20 Oct 2000 07:11:55 +0200


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