lkml.org 
[lkml]   [2006]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Generic is_compat_task helper
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/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2006-02-17 07:04    [W:0.039 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site