From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752681AbbELFrj (ORCPT ); Tue, 12 May 2015 01:47:39 -0400 Received: from terminus.zytor.com ([198.137.202.10]:43746 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752064AbbELFrh (ORCPT ); Tue, 12 May 2015 01:47:37 -0400 Message-ID: <555193E7.30600@zytor.com> Date: Mon, 11 May 2015 22:47:19 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Linus Torvalds CC: Richard Weinberger , Linux-Arch , "linux-kernel@vger.kernel.org" , Arnd Bergmann Subject: Re: VERIFY_READ/WRITE in uaccess.h? References: <554F288C.3000300@nod.at> <55511989.2010407@zytor.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/11/2015 02:42 PM, Linus Torvalds wrote: > > That one - for the same reasons - also checked the actual accesses, > not just that the range was in user mode. Exactly because it needed to > pre-COW the pages (even if that was then obviously racy in threaded > environments - in practice it worked, and we tried to support the > fundamentally broken i386 hardware protection model for a long time). > It worked in part because we never supported SMP on i386. -hpa