[lkml]   [1998]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: entry.S mess with %ebx (&current pointer)
    On Thu, 19 Nov 1998, Linus Torvalds wrote:

    >Good debugging, but the fix is incorrect (or at least unnecessarily slow).

    Of course. I posted the working fix (that looked sane to me) because it
    was late I had the train pending. I was going to discover _which_ syscall
    was clobbering %ebx now, one second before to read your solution ;-).

    >This patch should fix it properly, please tell me whether that is true..

    This allow the linking:

    Index: arch/i386/kernel/entry.S
    RCS file: /var/cvs/linux/arch/i386/kernel/entry.S,v
    retrieving revision
    diff -u -r1. entry.S
    --- entry.S 1998/11/19 19:01:50
    +++ entry.S 1998/11/19 19:16:33
    @@ -151,7 +151,7 @@

    - .globl ret_from_smpfork
    + .globl ret_from_fork
    #ifdef __SMP__

    I have not yet rebooted but it' s sure right because the stall was caused
    by the new forked processes a bit before return in userspace (infact this
    morning I just verifyed that the asm of sys_fork() was saving %ebx right).
    If there will be problems I' ll let you know...

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:45    [W:0.020 / U:114.096 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site