lkml.org 
[lkml]   [2012]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: Compat 32-bit syscall entry from 64-bit task!?
    On Wed, Jan 18, 2012 at 1:53 PM, H. Peter Anvin <hpa@zytor.com> wrote:
    >
    > I think we can obviously agree that regsets is the only way to go for
    > any kind of new state.

    So I really don't necessarily agree at all.

    Exactly because there is a heavy burden to introducing new models.
    It's not only relatively much more kernel code, it's also relatively
    much more painful for user code. If we can hide it in existing
    structures, user code is *much* better off, because any existing code
    to get the state will just continue to work. Otherwise, you need to
    have the code to figure out the new structures (how do you compile it
    without the new kernel headers?), you need to do the extra accesses
    conditionally etc etc.

    There's a real cost to introducing new interfaces. There's a *reason*
    people try to make do with old ones.

    Linus


    \
     
     \ /
      Last update: 2012-01-19 00:31    [W:4.063 / U:0.156 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site