[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: Alignment trap handler: ai_usermode uninitialised
From:       Matthias Welwarsky <mwelwarsky () web ! de>
Date:       2005-04-28 10:29:07
Message-ID: 200504281229.07488.mwelwarsky () web ! de
[Download RAW message or body]

On Thursday 28 April 2005 09:06, t.fromm@dresearch.de wrote:
> Hello *.*,
>
> While tracking down segfaults caused by unaligned reads in dietlibc's
> name resolver functions I noticed that the user mode alignment in
> arch/arm/mm/alignment.c is uninitialised (but seems to default to '0').

It is initialized to 0.

> Wouldn't it be nice to have an option in the kernel config wich would set
> the default user space behaviour? I'm just asking because I spent several
> days debugging dietlibc and finally resolved the issue by echoing "2" to
> /proc/cpu/alignment...

If you have to deviate from the default, it does not matter where you do it, 
does it?

regards,
	matthias

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:       http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic