From: "David S. Miller" <davem@redhat.com>
To: jsm@udlkern.fc.hp.com
Cc: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] Re: RFC: mmap patch
Date: Sun, 09 Mar 2003 13:31:28 -0800 (PST) [thread overview]
Message-ID: <20030309.133128.52483581.davem@redhat.com> (raw)
In-Reply-To: <200303090351.UAA17796@udlkern.fc.hp.com>
From: John Marvin <jsm@udlkern.fc.hp.com>
Date: Sat, 8 Mar 2003 20:51:55 -0700 (MST)
The tlb trick for clear_user_page is already implemented. The code for
copy_user_page is there, but turned off due to an issue mentioned in my
last email. I believe the failure case was not a frequent path, and there
are ways of working around that problem.
Fix it by adding a thread flag, "TIF_NEED_ICACHE_FLUSH" or whatever,
and at the end of copy_user_page() if this bit is set you flush the
page from the destination instruction cache.
The flag is set in do_parisc_fault() if the fault is for a write
and:
((vma->vm_flags & VM_EXEC) != 0 &&
vma->vm_file != NULL)
See the TIF_BLKCOMMIT logic in arch/sparc64/mm/fault.c
next prev parent reply other threads:[~2003-03-09 21:53 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-09 3:51 [parisc-linux] Re: RFC: mmap patch John Marvin
2003-03-09 21:31 ` David S. Miller [this message]
2003-03-17 2:25 ` [parisc-linux] unsupported ioctl wrappers? Grant Grundler
-- strict thread matches above, loose matches on Subject: below --
2003-03-09 3:42 [parisc-linux] Re: RFC: mmap patch John Marvin
2003-03-09 21:29 ` David S. Miller
2003-03-06 14:14 John Marvin
2003-03-06 14:31 ` Matthew Wilcox
2003-03-06 15:31 ` Randolph Chung
2003-03-08 6:30 ` Grant Grundler
2003-03-08 6:29 ` David S. Miller
2003-03-08 17:24 ` Grant Grundler
2003-03-08 19:04 ` David S. Miller
2003-03-08 20:42 ` Grant Grundler
2003-03-08 22:45 ` Matthew Wilcox
2003-03-08 23:00 ` David S. Miller
2003-03-08 23:27 ` Matthew Wilcox
2003-03-08 23:14 ` David S. Miller
2003-03-08 23:31 ` Randolph Chung
2003-03-08 23:15 ` David S. Miller
2003-03-09 2:15 ` Grant Grundler
2003-03-08 23:11 ` Matthew Wilcox
2003-03-08 23:02 ` David S. Miller
2003-03-09 14:42 ` Matthew Wilcox
2003-03-09 21:38 ` David S. Miller
2003-03-10 1:50 ` Matthew Wilcox
2003-03-10 5:18 ` David S. Miller
2003-03-14 13:04 ` Jochen Friedrich
2003-03-14 16:23 ` Grant Grundler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030309.133128.52483581.davem@redhat.com \
--to=davem@redhat.com \
--cc=jsm@udlkern.fc.hp.com \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox