mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Andrew Morton <akpm@osdl.org>
Cc: kyle@parisc-linux.org, torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Generic is_compat_task helper
Date: Fri, 17 Feb 2006 17:01:29 +1100	[thread overview]
Message-ID: <20060217170129.6a1bbc7a.sfr@canb.auug.org.au> (raw)
In-Reply-To: <20060216214939.78aebcbb.akpm@osdl.org>

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

On Thu, 16 Feb 2006 21:49:39 -0800 Andrew Morton <akpm@osdl.org> wrote:
>
> What continues to bug me about this (in a high-level hand-wavy sort of way)
> is that this is an attribute of the mm_struct, not of the task_struct.

Aren't there really two things here:
	in the syscall path you want to know that the kernel
	was entered through a 32 bit (compat) syscall entry point so
	you know what its arguments are and how to set up its return
	values

	in some places you need to know if the mm is a 32 bit mm

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-02-17  6:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17  2:52 Kyle McMartin
2006-02-17  5:49 ` Andrew Morton
2006-02-17  5:58   ` Paul Mackerras
2006-02-17  6:01   ` Stephen Rothwell [this message]
2006-02-17  7:03   ` David S. Miller
2006-02-17  7:45     ` Issue in using more number of devices with BFS setup in AS4 Srikanth Venkataraman
2006-02-17 14:11   ` [PATCH] Generic is_compat_task helper Kyle McMartin

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=20060217170129.6a1bbc7a.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=akpm@osdl.org \
    --cc=kyle@parisc-linux.org \
    --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

all inboxes | Powered by JetHome®