Hi Android kernel developers,

I have a OMAP3 Beagleboard [ARMv7], and android works pretty fine with
it. As Android's base chipset is MSM7200 which is ARMv6.
Now coming to the point, I came to know that kernels after 2.6.28-rc6
[Ref. 1], supports "Alignment trap" handling for chipsets after ARMv6.
So if I boot my Beagleboard without android[busybox RFS] it has /proc/
cpu/alignment set to as 2[fixup] as default. i.e. enables unaligned
memory handling.
But if I boot BeagleBoard with Android, Android sets /proc/cpu/
alignment as 4[signal] i.e. set by init.rc (write /proc/cpu/alignment
4)

So can I know why google overwrites it as 4. i.e. signal kill if
alignment trap occurs.
Forgive me, if I misunderstood anything. Your help may clear my doubt.

Does default 2 degrades android performance hence it is set to 4?

Regards,
Shivdas

[1]
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=arch/arm/mm/alignment.c;h=2d5884ce0435fb436a57bee6d314284b9101e87e;hp=133e65d166b315b0e54aba959846a162643bc927;hb=baa745a3378046ca1c5477495df6ccbec7690428;hpb=794baba637999b81aa40e60fae1fa91978e08808

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to