glib-2.0 2.21.4: add armv6 atomic ops, this fixes 100% utilization hangs when doing...
authorPratheesh Gangadhar <pratheesh.gangadhar@gmail.com>
Wed, 26 Aug 2009 21:03:00 +0000 (02:33 +0530)
committerKoen Kooi <koen@openembedded.org>
Thu, 27 Aug 2009 14:02:29 +0000 (16:02 +0200)
commit1eb89aacbc6830fe242eac36ba8bcb61d98807f5
treee7aa6974a2075521eb91bd68ffb290a81c576d60
parent13090db2af21ee0018c4e565556edcab40a84507
glib-2.0 2.21.4: add armv6 atomic ops, this fixes 100% utilization hangs when doing DSP based GStreamer playback

GLIB by default uses ARMV5 instructions for emulating atomic operations and this patch (derived from https://stage.maemo.org/svn/maemo/projects/haf/trunk/glib/debian/patches/25-gatomic.patch) make use ARMV6 atomic instructions instead. CPU goes into "sched_yield" while loop during hang - due to a race condition triggered by  high rate context switching while running DSP plugins.
recipes/glib-2.0/files/gatomic_armv6.patch [new file with mode: 0755]
recipes/glib-2.0/glib-2.0_2.21.4.bb