From owner-freebsd-stable@FreeBSD.ORG Fri Nov 19 18:54:32 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id D6B04106566C; Fri, 19 Nov 2010 18:54:32 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Fri, 19 Nov 2010 13:54:21 -0500 User-Agent: KMail/1.6.2 References: <201011152036.48181.jkim@FreeBSD.org> <201011161530.20165.jkim@FreeBSD.org> In-Reply-To: <201011161530.20165.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011191354.25486.jkim@FreeBSD.org> Cc: Ed Schouten , freebsd-stable@freebsd.org, Hans Petter Selasky Subject: Re: [Call for Tests] PAT issue on Apple hardware X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 18:54:33 -0000 On Tuesday 16 November 2010 03:30 pm, Jung-uk Kim wrote: > On Monday 15 November 2010 08:36 pm, Jung-uk Kim wrote: > > Often times I hear complaints like "my Mac hangs after upgrading > > to 8.1" or "snapshot CD hangs on my brand new Mac". I know some > > of these complaints started happening when we switched to new PAT > > layout. It is so puzzling because it never happened on non-Apple > > hardware, AFAIK. I really like to fix this problem but I cannot > > afford a Mac. :-P > > > > If you are one of those lucky people, please test the attached > > patch and report your hardware model and any improvement or > > regression. > > > > Also, I added a new tunable "vm.pmap.pat_works" so that you can > > turn it off from loader (i.e., "set vm.pmap.pat_works=0") and > > restore old behaviour without recompiling a new kernel. > > I revised this patch to make it more robust. > > http://people.freebsd.org/~jkim/pat-current.diff > > Also, I prepared a patch for stable/8. If you have recent Apple > hardware and it hangs with 8.1 or stable/8, please test this patch. > > http://people.freebsd.org/~jkim/pat-stable.diff Anyone? I don't want to commit it blindly. :-( Jung-uk Kim