From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 22 17:11:27 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B8AA106570C for ; Tue, 22 Apr 2008 17:11:27 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outS.internet-mail-service.net (outs.internet-mail-service.net [216.240.47.242]) by mx1.freebsd.org (Postfix) with ESMTP id 36F1A8FC29 for ; Tue, 22 Apr 2008 17:11:27 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Wed, 23 Apr 2008 00:02:47 -0700 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 7B3B32D6004; Tue, 22 Apr 2008 10:11:26 -0700 (PDT) Message-ID: <480E1C41.3010506@elischer.org> Date: Tue, 22 Apr 2008 10:11:29 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: "Murty, Ravi" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Did the notion of ksegrp's go away in 7.x? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 17:11:27 -0000 Murty, Ravi wrote: > Hello, > > > > I was browsing through the 7.x code and in particular looking at > kern/kern_switch.c and find ksegrp completely missing (I was looking for > setrunqueue). > > Is the notion of process_scope vs system_scope out in 7.x? As I mentioned to you in previous mail, this all changed in 7.x and 8.x. So, yes it went away. The gain from having this complication was not balanced by the extra complexity. Also, in the real world, since Linux has no comparable abstraction, no software is being written to use it. It is possible that one could write a scheduler that would implement it again but keep the differences isolated within the scheduler. In 8.x the KSE threading library goes away for the same reason. The 1:1 library becomes the base implementation. If you have questions you can email me directly for more details. > > > > Thanks > Ravi > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"