From: William Lee Irwin III <wli@holomorphy.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@24x7linux.com, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test9-mm4 (only) and vmware
Date: Wed, 19 Nov 2003 18:12:58 -0800 [thread overview]
Message-ID: <20031120021258.GB22764@holomorphy.com> (raw)
In-Reply-To: <20031119175803.65d7dc99.akpm@osdl.org>
William Lee Irwin III <wli@holomorphy.com> wrote:
>> Here it is.
On Wed, Nov 19, 2003 at 05:58:03PM -0800, Andrew Morton wrote:
> All the world's an x86 ;)
> This whole patch is getting rather large.
> ARM is doing weird stuff.
I just realized this can all be done in one line by setting the initial
value of ret to VM_FAULT_MINOR in do_no_page(). The ->nopage() methods
not updated will give off compiler warnings and since they think their
third arguments are ordinary integers, they won't update the referenced
content, and the initializer of VM_FAULT_MINOR then comes into play.
-- wli
diff -prauN mm4-2.6.0-test9-1/mm/memory.c mm4-2.6.0-test9-default-2/mm/memory.c
--- mm4-2.6.0-test9-1/mm/memory.c 2003-11-19 00:07:15.000000000 -0800
+++ mm4-2.6.0-test9-default-2/mm/memory.c 2003-11-19 18:08:49.000000000 -0800
@@ -1424,7 +1424,7 @@ do_no_page(struct mm_struct *mm, struct
pte_t entry;
struct pte_chain *pte_chain;
int sequence = 0;
- int ret;
+ int ret = VM_FAULT_MINOR;
if (!vma->vm_ops || !vma->vm_ops->nopage)
return do_anonymous_page(mm, vma, page_table,
next prev parent reply other threads:[~2003-11-20 2:13 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 21:15 Gerardo Exequiel Pozzi
2003-11-19 21:38 ` Andrew Morton
2003-11-20 4:15 ` Gerardo Exequiel Pozzi
2003-11-19 22:34 ` Christopher Li
2003-11-20 1:47 ` William Lee Irwin III
2003-11-19 23:22 ` Christopher Li
2003-11-20 2:34 ` William Lee Irwin III
2003-11-19 23:40 ` Christopher Li
2003-11-20 2:57 ` William Lee Irwin III
2003-11-20 10:03 ` Voicu Liviu
[not found] ` <20031120101830.GH22764@holomorphy.com>
2003-11-20 10:23 ` Voicu Liviu
2003-11-20 10:31 ` William Lee Irwin III
2003-11-20 10:37 ` Voicu Liviu
2003-11-20 10:42 ` William Lee Irwin III
2003-11-20 10:51 ` Voicu Liviu
2003-11-20 17:20 ` Christopher Li
2003-11-20 21:38 ` Jose Luis Domingo Lopez
2003-11-20 21:55 ` William Lee Irwin III
2003-11-20 22:53 ` Jose Luis Domingo Lopez
2003-11-20 22:56 ` William Lee Irwin III
2003-11-21 20:10 ` Jose Luis Domingo Lopez
2003-11-21 23:08 ` Jose Luis Domingo Lopez
2003-11-20 0:21 ` Jose Luis Domingo Lopez
2003-11-20 1:02 ` Andrew Morton
2003-11-20 1:07 ` William Lee Irwin III
2003-11-20 1:12 ` William Lee Irwin III
2003-11-20 1:58 ` Andrew Morton
2003-11-20 2:12 ` William Lee Irwin III [this message]
2003-11-19 23:24 ` Christopher Li
2003-11-20 4:39 ` Gerardo Exequiel Pozzi
2003-11-20 10:35 Petr Vandrovec
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=20031120021258.GB22764@holomorphy.com \
--to=wli@holomorphy.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@24x7linux.com \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome