From: Nick Piggin <nickpiggin@yahoo.com.au>
To: Jes Sorensen <jes@sgi.com>
Cc: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org, Hugh Dickins <hugh@veritas.com>,
bjorn_helgaas@hp.com, cotte@de.ibm.com
Subject: Re: [patch - repost] do_no_pfn handler
Date: Fri, 21 Apr 2006 20:41:38 +1000 [thread overview]
Message-ID: <4448B6E2.1070507@yahoo.com.au> (raw)
In-Reply-To: <yq0acahu04h.fsf_-_@jaguar.mkp.net>
Jes Sorensen wrote:
> --- linux-2.6.orig/include/linux/mm.h
> +++ linux-2.6/include/linux/mm.h
> @@ -199,6 +199,7 @@
> void (*open)(struct vm_area_struct * area);
> void (*close)(struct vm_area_struct * area);
> struct page * (*nopage)(struct vm_area_struct * area, unsigned long address, int *type);
> + long (*nopfn)(struct vm_area_struct * area, unsigned long address);
Minor nit: make this unsigned long?
> int (*populate)(struct vm_area_struct * area, unsigned long address, unsigned long len, pgprot_t prot, unsigned long pgoff, int nonblock);
> #ifdef CONFIG_NUMA
> int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new);
> @@ -612,6 +613,12 @@
> #define NOPAGE_OOM ((struct page *) (-1))
>
> /*
> + * Error return values for the *_nopfn functions
> + */
> +#define NOPFN_SIGBUS ((unsigned long) -1)
> +#define NOPFN_OOM ((unsigned long) -2)
--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com
next prev parent reply other threads:[~2006-04-21 16:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-03 11:32 [patch] do_no_pfn handler Jes Sorensen
2006-04-03 11:46 ` Nick Piggin
2006-04-03 14:49 ` Jes Sorensen
2006-04-04 10:58 ` Jes Sorensen
2006-04-04 11:05 ` Nick Piggin
2006-04-05 9:34 ` Jes Sorensen
2006-04-19 14:10 ` [patch - repost] " Jes Sorensen
2006-04-21 10:41 ` Nick Piggin [this message]
2006-04-24 7:55 ` Jes Sorensen
2006-04-11 14:29 ` [patch] " Jes Sorensen
2006-04-11 15:10 ` Linus Torvalds
2006-04-11 15:26 ` Carsten Otte
2006-04-11 15:35 ` Linus Torvalds
2006-04-11 20:03 ` Carsten Otte
2006-04-11 20:30 ` Linus Torvalds
2006-04-11 20:53 ` Carsten Otte
2006-04-12 9:09 ` Jes Sorensen
2006-04-12 9:16 ` Carsten Otte
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=4448B6E2.1070507@yahoo.com.au \
--to=nickpiggin@yahoo.com.au \
--cc=akpm@osdl.org \
--cc=bjorn_helgaas@hp.com \
--cc=cotte@de.ibm.com \
--cc=hugh@veritas.com \
--cc=jes@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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