From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261186AbVHATuC (ORCPT ); Mon, 1 Aug 2005 15:50:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261199AbVHATuC (ORCPT ); Mon, 1 Aug 2005 15:50:02 -0400 Received: from smtp.osdl.org ([65.172.181.4]:35477 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S261186AbVHATte (ORCPT ); Mon, 1 Aug 2005 15:49:34 -0400 Date: Mon, 1 Aug 2005 12:48:40 -0700 (PDT) From: Linus Torvalds To: Hugh Dickins cc: Nick Piggin , Robin Holt , Andrew Morton , Roland McGrath , Martin Schwidefsky , linux-mm@kvack.org, linux-kernel Subject: Re: [patch 2.6.13-rc4] fix get_user_pages bug In-Reply-To: Message-ID: References: <20050801032258.A465C180EC0@magilla.sf.frob.com> <42EDDB82.1040900@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 1 Aug 2005, Hugh Dickins wrote: > > Attractive, I very much wanted to do that rather than change all the > arches, but I think s390 rules it out: its pte_mkdirty does nothing, > its pte_dirty just says no. How does s390 work at all? > Or should we change s390 to set a flag in the pte just for this purpose? If the choice is between a broken and ugly implementation for everybody else, then hell yes. Even if it's a purely sw bit that nothing else actually cares about.. I hope they have an extra bit around somewhere. Linus