lkml.org 
[lkml]   [2002]   [Oct]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 29 Oct 2002 10:26:07 +0100 (CET)
FromFrank Cornelis <>
Subject[PATCH] ptrace on 2.5.44
Hi,

According to cachetlb.txt the following should be fixed in order to get 
it right on some architectures.

Frank.

--- ptrace.c.2.5.44     Wed Oct 30 10:09:42 2002
+++ ptrace.c    Wed Oct 30 10:11:33 2002
@@ -181,11 +181,11 @@
                maddr = kmap(page);
                if (write) {
                        memcpy(maddr + offset, buf, bytes);
-                       flush_page_to_ram(page);
+                       flush_dcache_page(page);
                        flush_icache_user_range(vma, page, addr, bytes);
                } else {
+                       flush_dcache_page(page);
                        memcpy(buf, maddr + offset, bytes);
-                       flush_page_to_ram(page);
                }
                kunmap(page);
                page_cache_release(page);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:30    [W:0.264 / U:0.020 seconds]
©2003-2008 Jasper Spaans