lkml.org 
[lkml]   [2006]   [Feb]   [17]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 17 Feb 2006 17:01:29 +1100
FromStephen Rothwell <>
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    [from the cache]
©2003-2008