git: vkernel - Fix if_vke

Matthew Dillon dillon at
Tue Feb 19 15:32:40 PST 2013

commit a9844950530ae16eb3e75a9be633f52643914f58
Author: Matthew Dillon <dillon at>
Date:   Tue Feb 19 15:29:55 2013 -0800

    vkernel - Fix if_vke
    * The vkernel device driver threads are cothreads and do not have
      any per-cpu data.
    * Fix recent stat counter changes which attempted to access per-cpu data
      from a cothread.  This fixes a vkernel SIGILL by virtue of the trap()
      code being called recursively on trap's own attempt to access mycpu,
      until its stack runs out.

Summary of changes:
 sys/dev/virtual/vkernel/net/if_vke.c | 35 +++++++++++++++++++++++++++++++----
 1 file changed, 31 insertions(+), 4 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list