Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Dec 2003 19:34:31 -0000
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_thread.c syscalls.master src/sys/sys kse.h
Message-ID:  <200312071934.hB7JYTi6088916@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2003/12/07 11:34:29 PST

  FreeBSD src repository

  Modified files:
    sys/kern             kern_thread.c syscalls.master 
    sys/sys              kse.h 
  Log:
  Add kse_switchin(2). This syscall can be used by KSE implementations
  to have the kernel switch to a new thread, instead of doing it in
  userland. It is in fact needed on ia64 where syscall restarts do not
  return to userland first. It's completely handled inside the kernel.
  As such, any context created by the kernel as part of an upcall and
  caused by some syscall needs to be restored by the kernel.
  
  Revision  Changes    Path
  1.164     +24 -0     src/sys/kern/kern_thread.c
  1.159     +2 -0      src/sys/kern/syscalls.master
  1.20      +1 -0      src/sys/sys/kse.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312071934.hB7JYTi6088916>