The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* RE: + perfmon2-reserve-system-calls.patch added to -mm tree
@ 2005-11-15 15:28 Luck, Tony
  2005-11-15 15:49 ` Stephane Eranian
  0 siblings, 1 reply; 12+ messages in thread
From: Luck, Tony @ 2005-11-15 15:28 UTC (permalink / raw)
  To: Andi Kleen, Arjan van de Ven
  Cc: eranian, Andrew Morton, Arnd Bergmann, linux-kernel, benh, paulus,
	stephane.eranian

>> ... which is a binary only, proprietary application.
>
>The IA32 emulation part of it is actually shipped in source. 
>Somehow they manage to link a binary only object to it though.

There are two parts to the ia32 emulation ... the part that handles
all the Linux syscall emulation is open (LGPL I think).  The part
that handles translation of x86 instructions into ia64 instructions
is the binary only part ... a shared library that gets attached by
the Linux layer ... this same binary blob is used on all operating
systems.

>> Either way, either the emulation is in the kernel or it's not. If it's
>> there (like it is now) it deserves maintenance. If it's not, it should
>> be removed from the tree, since the only thing it's otherwise good for
>> is potential security holes.
>
>I suppose it's still useful for all current IA64 users (Montecito
>is not shipping yet and older CPUs support x86 in hardware) who don't like 
>binary only software.

I was planning on asking who still depends on the emulation code
a while after Montecito is shipping.  Until then I'll try to do
what makes sense in keeping the ia32 emulation system call table
up to date.

The perfmon syscalls would be an example of something that should
*NOT* go into the ia32 emulation syscall table.  It makes no sense
whatever to put them there.  I don't believe that the h/w emulation
provides any performance counter emulation, and even if it did a
user who cared about the performance of their application would do
far better to re-compile it as native ia64 than to mess around
trying to optimize their x86 binary.

-Tony

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: + perfmon2-reserve-system-calls.patch added to -mm tree
@ 2005-11-15 16:58 Luck, Tony
  0 siblings, 0 replies; 12+ messages in thread
From: Luck, Tony @ 2005-11-15 16:58 UTC (permalink / raw)
  To: eranian
  Cc: Andi Kleen, Arjan van de Ven, Andrew Morton, Arnd Bergmann,
	linux-kernel, benh, paulus, stephane.eranian

It does look like I'm a bit behind with syscalls in the
32-bit emulation table.  Ones that may need to be added are:

274  sys_mbind
275  sys_get_mempolicy
276  sys_set_mempolicy
286  sys_add_key
287  sys_request_key
288  sys_keyctl
289  sys_ioprio_set
290  sys_ioprio_get
291  sys_inotify_init
292  sys_inotify_add_watch
293  sys_inotify_rm_watch

Plus a general whitespace cleanup (lots of lines start with
<space>+<tab>).

-Tony

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-11-16 10:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200511142329.jAENTfmS004600@shell0.pdx.osdl.net>
2005-11-14 23:50 ` + perfmon2-reserve-system-calls.patch added to -mm tree Arnd Bergmann
2005-11-15  0:04   ` Paul Mackerras
2005-11-15  0:09     ` Stephane Eranian
2005-11-15  1:12   ` Andrew Morton
2005-11-15  8:00     ` Stephane Eranian
2005-11-15  8:08       ` Arjan van de Ven
2005-11-15 13:40         ` Andi Kleen
2005-11-15  9:06   ` Christoph Hellwig
2005-11-16 10:24     ` Stephane Eranian
2005-11-15 15:28 Luck, Tony
2005-11-15 15:49 ` Stephane Eranian
  -- strict thread matches above, loose matches on Subject: below --
2005-11-15 16:58 Luck, Tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox