From owner-freebsd-current Mon Aug 27 13:43:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 187A537B403; Mon, 27 Aug 2001 13:43:21 -0700 (PDT) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.6/8.11.2) id f7RKgnT24926; Mon, 27 Aug 2001 13:42:49 -0700 (PDT) (envelope-from dillon) Date: Mon, 27 Aug 2001 13:42:49 -0700 (PDT) From: Matt Dillon Message-Id: <200108272042.f7RKgnT24926@earth.backplane.com> To: Jim Bryant Cc: Garance A Drosihn , John Baldwin , Daniel Eischen , current@FreeBSD.ORG, Julian Elischer Subject: Re: Headsup! KSE Nay-sayers speak up! References: <3B8AAEC6.7050302@yahoo.com> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG :> and preferably on more than the i386 platform. If we are going to :> be serious about supporting more hardware platforms, then we have :> to start treating them more seriously when major changes like this :> come along. If we can't get some broader testing of this done in :> the next few weeks, then the changes should probably wait until :> after "5.0". : : :I believe that I read in an earlier thread that the archetecture-specific changes are minimal, and that majority of the changes are :in high-level constructs in the kernel. Of course, I could be recalling this incorrectly, but I don't think I am... : :jim Yes, this is correct. The assembly changes are just structural indirections for things that were broken off from the proc structure. The scheduler now messes with 'threads' rather then 'processes' for the most part. That part of the diff set is involved but straight forward. Julian also add KSTACK_PAGES to allow the kernel stack to be specified in a more controlled manner. Here is an excerpt so you can see what I mean: ... - - movl P_VMSPACE(%ecx), %edx + movl TD_PROC(%ecx), %eax + movl P_VMSPACE(%eax), %edx movl PCPU(CPUID), %eax btrl %eax, VM_PMAP+PM_ACTIVE(%edx) - movl P_ADDR(%ecx),%edx + movl TD_PCB(%ecx),%edx ... See? not much too it. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message