From owner-cvs-all Sun Nov 17 10:56:50 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A61237B401; Sun, 17 Nov 2002 10:56:49 -0800 (PST) Received: from kayak.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD0043E77; Sun, 17 Nov 2002 10:56:48 -0800 (PST) (envelope-from marcel@xcllnt.net) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.12.6/8.12.6) with ESMTP id gAHIul0N042412; Sun, 17 Nov 2002 10:56:47 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.6/8.12.6) with ESMTP id gAHIulih000680; Sun, 17 Nov 2002 10:56:47 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.6/8.12.6/Submit) id gAHIulHX000679; Sun, 17 Nov 2002 10:56:47 -0800 (PST) (envelope-from marcel) Date: Sun, 17 Nov 2002 10:56:47 -0800 From: Marcel Moolenaar To: Doug Rabson Cc: Daniel Eischen , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc_r/arch/ia64 _atomic_lock.S Message-ID: <20021117185647.GB603@athlon.pn.xcllnt.net> References: <20021116185125.GB618@dhcp01.pn.xcllnt.net> <20021116195821.GB1058@dhcp01.pn.xcllnt.net> <200211171025.00359.dfr@nlsystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211171025.00359.dfr@nlsystems.com> User-Agent: Mutt/1.5.1i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 17, 2002 at 10:25:00AM +0000, Doug Rabson wrote: > > I hope to have the *context syscalls next week. I've decided to > > not attack the problem head on, because we don't have time to > > fix the infrastructure for it (we need to unwind to recreate the > > context). Instead, I hope to hack-up a workable solution from an > > ABI breaking change. The ABI breaker allows us to have lightweight > > syscalls, which we permanently want. So, doing that now is very > > attractive. The intend is to implement the *context syscalls as > > lightweight syscalls in a very hackish way. This serves as an > > experiment as well as solving an immediate problem. Let's hope > > it works out... > > So you intend to recognise the context calls in the syscall wrapper and > special-case them? This would work but it would also work for > heavyweight syscalls. I'm still worried about how you are going to > flush the user's register stack safely from kernel mode. I don't intend to, but it's possible that I'm overlooking a case here. The only fear I have is that the work is exponentially growing with every step I make... -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message