lkml.org 
[lkml]   [2008]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86_64: Implement personality ADDR_LIMIT_32BIT
> > And personality() is not thread local/safe, so it's not a particularly
> > good interface to use later.
>
> qemu can call personality() before any threads will be created.

It still makes it unsuitable for a lot of other applications.
e.g. a JVM using 32bit pointers couldn't use it because it would
affect native C threads running in the same process.

>
> > Per system call switches are preferable
> > and more flexible.
>
> Per syscall switches are cool, but I don't see any advantage from it for
> qemu.

Linux interfaces are not supposed to be "interfaces for qemu" but generally
applicable interfaces.

-Andi
--
ak@linux.intel.com


\
 
 \ /
  Last update: 2008-10-06 11:53    [W:0.080 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site