From: Dave Hansen <haveblue@us.ibm.com>
To: Matt Mackall <mpm@selenic.com>
Cc: linux-kernel@vger.kernel.org, serue@us.ibm.com,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [RFC][PATCH 4/5] introduce TASK_SIZE_OF() for all arches
Date: Wed, 08 Aug 2007 11:19:28 -0700 [thread overview]
Message-ID: <1186597168.22283.130.camel@localhost> (raw)
In-Reply-To: <20070808020354.GK30556@waste.org>
On Tue, 2007-08-07 at 21:03 -0500, Matt Mackall wrote:
> On Tue, Aug 07, 2007 at 03:33:03PM -0700, Dave Hansen wrote:
> >
> > For the /proc/<pid>/pagemap code[1], we need to able to query how
> > much virtual address space a particular task has. The trick is
> > that we do it through /proc and can't use TASK_SIZE since it
> > references "current" on some arches. The process opening the
> > /proc file might be a 32-bit process opening a 64-bit process's
> > pagemap file.
>
> That seems perfectly sensible to me, but I think you'll need to bounce
> it off Andrew at least. (cc:ed)
It definitely needs a trip to linux-arch.
-- Dave
next prev parent reply other threads:[~2007-08-08 18:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-07 22:33 [RFC][PATCH 1/5] pagemap: remove file header Dave Hansen
2007-08-07 22:33 ` [RFC][PATCH 2/5] pagemap: use PAGE_MASK/PAGE_ALIGN() Dave Hansen
2007-08-08 1:54 ` Matt Mackall
2007-08-07 22:33 ` [RFC][PATCH 3/5] pagemap: remove open-coded sizeof(unsigned long) Dave Hansen
2007-08-07 23:40 ` Matt Mackall
2007-08-07 23:55 ` Dave Hansen
2007-08-08 2:01 ` Matt Mackall
2007-08-07 22:33 ` [RFC][PATCH 4/5] introduce TASK_SIZE_OF() for all arches Dave Hansen
2007-08-08 2:03 ` Matt Mackall
2007-08-08 18:19 ` Dave Hansen [this message]
2007-08-07 22:33 ` [RFC][PATCH 5/5] pagemap: add walker for empty areas Dave Hansen
2007-08-08 1:16 ` [RFC][PATCH 1/5] pagemap: remove file header Matt Mackall
2007-08-08 1:31 ` Alan Cox
2007-08-08 3:51 ` Matt Mackall
2007-08-08 16:34 ` Dave Hansen
2007-08-08 16:53 ` Dave Hansen
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=1186597168.22283.130.camel@localhost \
--to=haveblue@us.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
--cc=serue@us.ibm.com \
/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