From owner-freebsd-stable@freebsd.org Mon Jan 22 21:07:44 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73366ED5D81 for ; Mon, 22 Jan 2018 21:07:44 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mx2.catspoiler.org (mx2.catspoiler.org [IPv6:2607:f740:16::d18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5109D6EE9C for ; Mon, 22 Jan 2018 21:07:44 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org ([76.212.85.177]) by mx2.catspoiler.org (8.15.2/8.15.2) with ESMTPS id w0ML88RR092335 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 Jan 2018 21:08:10 GMT (envelope-from truckman@FreeBSD.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTPS id w0ML7ZQu092390 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Jan 2018 13:07:36 -0800 (PST) (envelope-from truckman@FreeBSD.org) Date: Mon, 22 Jan 2018 13:07:30 -0800 (PST) From: Don Lewis Subject: Re: Ryzen issues on FreeBSD ? To: Mike Tancsa cc: freebsd-stable@freebsd.org, Pete French In-Reply-To: <4e53080c-4257-d3b6-a097-0d54602e0e62@sentex.net> Message-ID: References: <8e842dec-ade7-37d1-6bd8-856ea1a827ca@sentex.net> <8dcf6cc8fad788ac8168a4a9f392b02e@foolishgames.com> <23c1d162-dcd8-c422-3114-d70b65b6c271@sentex.net> <00875e4d-740f-63f1-496c-6cda82b1a403@ingresso.co.uk> <52744797-0606-44e7-72dd-242a6b56066a@digiware.nl> <4e53080c-4257-d3b6-a097-0d54602e0e62@sentex.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 21:07:44 -0000 On 22 Jan, Mike Tancsa wrote: > On 1/21/2018 3:24 PM, Don Lewis wrote: >>> >>> I have supplied a customer with a Ryzen5 and a 350MB motherboard. >>> But he runs Windows 10, but I haven't heard him complain about anything >>> like this. >>> But I'll ask him specific. >> >> Only the BSDs were affected by the shared page issue. I think Linux >> already had a guard page. I don't think Windows was affected by the >> idle C-state issue. I suspect it is caused by software not doing the >> right thing during C-state transitions, but the publicly available >> documentation from AMD is pretty lacking. The random segfault issue is >> primarily triggered by heavy parallel software build loads and how many >> Windows users do that? > > > Are all the AMD accomodations that DragonFly did in FreeBSD ? > > http://lists.dragonflybsd.org/pipermail/commits/2017-August/626190.html We only lowered the top of user space by 4KB, which should be sufficient, and we unmapped the boundary page. The signal trampoline was already in a separate page than the stack.