git: MPSAFE TTY - get rid of tokens in console path

Alex Hornung alexh at crater.dragonflybsd.org
Sun Aug 29 09:26:04 PDT 2010


commit 5688255a2465ea75743dbf7967ff76164c91aefe
Author: Alex Hornung <ahornung at gmail.com>
Date:   Sun Aug 29 17:17:20 2010 +0100

    MPSAFE TTY - get rid of tokens in console path
    
    * The console path (coming through tty_cons.c) can never block, so do
      not try to acquire tokens there.
    
    Reported-by: Jan Lentfer

Summary of changes:
 sys/dev/misc/dcons/dcons_os.c             |    4 --
 sys/dev/misc/syscons/scvgarndr.c          |   15 ++------
 sys/dev/misc/syscons/syscons.c            |   55 -----------------------------
 sys/dev/serial/sio/sio.c                  |   26 +++++---------
 sys/platform/vkernel/platform/console.c   |   15 --------
 sys/platform/vkernel64/platform/console.c |   11 ------
 6 files changed, 12 insertions(+), 114 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5688255a2465ea75743dbf7967ff76164c91aefe


-- 
DragonFly BSD source repository





More information about the Commits mailing list