Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64/ia64 Add XXX note regarding incomplete forking



details:   https://anonhg.NetBSD.org/src/rev/b6c4cd66949e
branches:  trunk
changeset: 322036:b6c4cd66949e
user:      scole <scole%NetBSD.org@localhost>
date:      Sat Apr 14 19:58:20 2018 +0000

description:
Add XXX note regarding incomplete forking

diffstat:

 sys/arch/ia64/ia64/vm_machdep.c |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 9ba9303cb598 -r b6c4cd66949e sys/arch/ia64/ia64/vm_machdep.c
--- a/sys/arch/ia64/ia64/vm_machdep.c   Sat Apr 14 17:55:47 2018 +0000
+++ b/sys/arch/ia64/ia64/vm_machdep.c   Sat Apr 14 19:58:20 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.13 2017/04/08 17:38:43 scole Exp $    */
+/*     $NetBSD: vm_machdep.c,v 1.14 2018/04/14 19:58:20 scole Exp $    */
 
 /*
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -133,6 +133,14 @@
                KASSERT(l1 == &lwp0);
        }
 
+       /*
+        * XXX this seems incomplete, each thread apparently needs its
+        * own stack and bspstore, and to re-adjust the RSE "ndirty"
+        * registers.  See
+        * http://fxr.watson.org/fxr/source/ia64/ia64/vm_machdep.c?v=FREEBSD10#L262
+        * Also should verify u-area usage is consistent, which may be
+        * different than freebsd.
+        */
        *pcb2 = *pcb1;
 
        l2->l_md.md_flags = l1->l_md.md_flags;



Home | Main Index | Thread Index | Old Index