19 Jan, 2006

1 commit

  • In a previous patch I shifted an allocation to being atomic.

    In this patch, a better but more intrusive solution is implemented, i.e. hold
    the lock only when really needing it, especially not over pipe operations, nor
    over the culprit allocation.

    Additionally, while at it, add a missing kfree in the failure path, and make
    sure that if we fail in forking, write_sigio_pid is -1 and not, say, -ENOMEM.

    And fix whitespace, at least for things I was touching anyway.

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Cc: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     

07 Jan, 2006

1 commit

  • There are a few functions which are declared to return something, but don't.
    These are actually infinite loops which are forced to be declared as non-void.
    This makes them all return 0.

    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

07 Nov, 2005

2 commits

  • This is the arch/ part of the big kfree cleanup patch.

    Remove pointless checks for NULL prior to calling kfree() in arch/.

    Signed-off-by: Jesper Juhl
    Acked-by: Grant Grundler
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • The serial UML OS-abstraction layer patch (um/kernel dir).

    This moves all systemcalls from helper.c file under os-Linux dir

    Signed-off-by: Gennady Sharapov
    Signed-off-by: Jeff Dike
    Cc: Paolo Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

23 Sep, 2005

1 commit

  • setup_initial_poll is only called with sigio_lock() held, so use appropriate
    allocation.

    Also, parse_chan() can also be called when holding a spinlock (see line_open()
    -> parse_chan_pair()).

    I have sporadic problems (spinlock taken twice, with spinlock debugging on UP)
    which could be caused by a sequence like "take spinlock, alloc and go to
    sleep, take again the spinlock in the other thread".

    Signed-off-by: Paolo 'Blaisorblade' Giarrusso
    Cc: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paolo 'Blaisorblade' Giarrusso
     

06 May, 2005

1 commit

  • This makes SIGWINCH work again, and fixes a couple of SIGWINCH-associated
    crashes. First, the sigio thread disables SIGWINCH because all hell breaks
    loose if it ever gets one and tries to call the signal handling code. Second,
    there was a problem with deferencing tty structs after they were freed. The
    SIGWINCH support for a tty wasn't being turned off or freed after the tty went
    away.

    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds