From owner-freebsd-mips@FreeBSD.ORG Mon Jun 21 06:45:14 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B6F0106566C; Mon, 21 Jun 2010 06:45:14 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 53E188FC16; Mon, 21 Jun 2010 06:45:14 +0000 (UTC) Received: by pxi7 with SMTP id 7so9756pxi.13 for ; Sun, 20 Jun 2010 23:45:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=i4eozMsha3baEffOafA9irxRJau4CEzmSVG+kXAXUu0=; b=jPr25UEK6YX+g5z2+P4pDi+Pg0ptL8V3il6gbpjDtaNrUROgynvSkrtLcm5s7VuQ1U eFEIh1CLQiX31XngleeqpRFuCRVxF+ouSu6pdffboyDsLqvSvOskQY2tSnt0XahjpRXo MGcwOSeBWMw0p6Rs4WHigjECidQEVZ52sRvvI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=PwvLccv/Puyokls2nSXbKQD6zjBl8oj1TMnfPufTmh3/nY1MwLgibhj60O+7LhkqJH 986+ovIF1nKyN3fnXEwZXOI3NApENGiV1VuAzSbF0qpty4QT3dExK2v4zaEqRIKz5orE L6gQ2+m2wui1Wi3SLJ6LWWM9MgUoJZ5oCo5KY= MIME-Version: 1.0 Received: by 10.142.67.29 with SMTP id p29mr3115795wfa.138.1277102713641; Sun, 20 Jun 2010 23:45:13 -0700 (PDT) Received: by 10.142.141.10 with HTTP; Sun, 20 Jun 2010 23:45:13 -0700 (PDT) In-Reply-To: References: <20100617.100235.195066307596264499.imp@bsdimp.com> <4B66E1A4-E2A5-471F-9FA4-38B506797272@lakerest.net> <20100617.110504.200754750200158040.imp@bsdimp.com> <763BEBBB-B85A-44CE-BFEE-0BADEFF3C185@lakerest.net> Date: Sun, 20 Jun 2010 23:45:13 -0700 Message-ID: From: Neel Natu To: Juli Mallett Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: Alan Cox , freebsd-mips@freebsd.org Subject: Re: Merging 64 bit changes to -HEAD - part 2 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2010 06:45:14 -0000 Hi Juli, On Sat, Jun 19, 2010 at 3:18 AM, Juli Mallett wrote: > On Fri, Jun 18, 2010 at 12:41, Neel Natu wrote: >> Hi JC, >> >> But what you really want here is to eliminate the intr_disable() and >> intr_restore() and keep sched_pin() and =A0sched_unpin(). > > Are you sure? =A0I'm not. =A0By disabling interrupts we only have to > ensure that the fault path on any address we might access within those > routines doesn't need to use the large memory map. =A0This isn't > trivial, but I think we can acquire a reasonable confidence about it. > If we merely pin, we have to ensure that nothing else that can run > (including interrupts and threads that run via preemption) that would > access the large memory map =97 given that this includes routines like > pmap_zero_page, I think there's good reason for caution. =A0Disabling > interrupts is more conservative, but I think rightly-so. =A0I may be > mistaken. > Duh. You are right, of course. Sorry for the noise. best Neel > Thanks, > Juli. >