Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 1996 23:51:12 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        Veggy Vinny <richardc@CSUA.Berkeley.EDU>
Cc:        Steve Passe <smp@csn.net>, smp@freefall.freebsd.org
Subject:   Re: Re:
Message-ID:  <22585.845218272@sat.t.u-tokyo.ac.jp>

next in thread | raw e-mail | index | archive | help
Hi,

From: Veggy Vinny <richardc@CSUA.Berkeley.EDU>
Subject: Re:
Date: Sun, 13 Oct 1996 01:58:48 -0700 (PDT)
Message-ID: <Pine.PTX.3.95.961013015638.5738Y-100000@soda.CSUA.Berkeley.EDU>

> 	Oh okay, thanks for clarifying this....  SMP seems to work really
> well except options COMPATLINUX is still not working under SMP but it does
> for a -current kernel...  But you guys are doing a great job! =)

I thinks the following patch makes linux emulation run.

*** linux_misc.c.orig   Sat Jul 27 07:01:08 1996
--- linux_misc.c        Mon Sep 30 23:03:30 1996
***************
*** 687,693 ****
  #ifdef DEBUG
      printf("Linux-emul(%d): times(*)\n", p->p_pid);
  #endif
!     calcru(p, &ru.ru_utime, &ru.ru_stime, NULL);
  
      tms.tms_utime = CONVTCK(ru.ru_utime);
      tms.tms_stime = CONVTCK(ru.ru_stime);
--- 687,693 ----
  #ifdef DEBUG
      printf("Linux-emul(%d): times(*)\n", p->p_pid);
  #endif
!     calcru(p, &ru.ru_utime, &ru.ru_stime, NULL, "linux_times");
  
      tms.tms_utime = CONVTCK(ru.ru_utime);
      tms.tms_stime = CONVTCK(ru.ru_stime);

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp



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