[oe-issues] [Bug 1684] Angstrom segfault problems when booting from flash

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Thu Dec 28 14:12:14 UTC 2006


http://bugs.openembedded.org/show_bug.cgi?id=1684





------- Comment #8 from koen at dominion.kabel.utwente.nl  2006-12-28 06:12 -------
This patch from Richard Purdie fixes the segfaults:

Index: linux-2.6.19/mm/memory.c
===================================================================
--- linux-2.6.19.orig/mm/memory.c       2006-11-29 21:57:37.000000000 +0000
+++ linux-2.6.19/mm/memory.c    2006-12-28 13:13:56.000000000 +0000
@@ -2186,6 +2186,9 @@ retry:
                if (!(vma->vm_flags & VM_SHARED)) {
                        struct page *page;

+                       if (test_bit(PG_dcache_dirty, &new_page->flags))
+                              
__cpuc_flush_dcache_page(page_address(new_page));
+
                        if (unlikely(anon_vma_prepare(vma)))
                                goto oom;
                        page = alloc_page_vma(GFP_HIGHUSER, vma, address);

See the thread referenced in the previous comment for more details


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-issues mailing list