From owner-freebsd-threads@FreeBSD.ORG Mon May 5 16:54:05 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA8F37B401 for ; Mon, 5 May 2003 16:54:05 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id C653843F75 for ; Mon, 5 May 2003 16:54:04 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by attbi.com (sccrmhc01) with ESMTP id <2003050523540300100cskk6e>; Mon, 5 May 2003 23:54:03 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA30234 for ; Mon, 5 May 2003 16:54:03 -0700 (PDT) Date: Mon, 5 May 2003 16:54:01 -0700 (PDT) From: Julian Elischer To: threads@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: kern_threads.c.. upcall question.. X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 23:54:05 -0000 In kern_threads.c, in function thread_export_context() it first does a copyin() of the context storage area. I think this is un-needed (and a complete waste of cycles) but I am not sure if there is some strange condition regarding floating point registers or something that may want this.. Dan, Jon, David? do any of you have a good reason why I shouldn't remove the copyin().??