linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ptrace on 2.5.44
@ 2002-10-29  9:26 Frank Cornelis
  0 siblings, 0 replies; only message in thread
From: Frank Cornelis @ 2002-10-29  9:26 UTC (permalink / raw)
  To: linux-kernel; +Cc: Frank.Cornelis

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);



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-29  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29  9:26 [PATCH] ptrace on 2.5.44 Frank Cornelis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).