From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qg0-f42.google.com (mail-qg0-f42.google.com [209.85.192.42]) by kanga.kvack.org (Postfix) with ESMTP id 72FC56B00DB for ; Thu, 13 Nov 2014 11:11:13 -0500 (EST) Received: by mail-qg0-f42.google.com with SMTP id i50so10826589qgf.1 for ; Thu, 13 Nov 2014 08:11:13 -0800 (PST) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTPS id q5si47298336qat.17.2014.11.13.08.11.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Nov 2014 08:11:12 -0800 (PST) Message-ID: <5464D747.4030506@redhat.com> Date: Thu, 13 Nov 2014 11:07:35 -0500 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 3/5] lib: lockless generic and arch independent page table (gpt) v2. References: <1415644096-3513-1-git-send-email-j.glisse@gmail.com> <1415644096-3513-4-git-send-email-j.glisse@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds , Jerome Glisse Cc: Andrew Morton , Linux Kernel Mailing List , linux-mm , Joerg Roedel , Mel Gorman , "H. Peter Anvin" , Peter Zijlstra , Andrea Arcangeli , Johannes Weiner , Larry Woodman , Dave Airlie , Brendan Conoboy , Joe Donohue , Duncan Poole , Sherry Cheung , Subhash Gutti , John Hubbard , Mark Hairgrove , Lucien Dunning , Cameron Buschardt , Arvind Gopalakrishnan , Shachar Raindel , Liran Liss , Roland Dreier , Ben Sander , Greg Stoner , John Bridgman , Michael Mantor , Paul Blinzer , Laurent Morichetti , Alexander Deucher , Oded Gabbay , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= On 11/10/2014 03:22 PM, Linus Torvalds wrote: > Rik, the fact that you acked this just makes all your other ack's be > suspect. Did you do it just because it was from Red Hat, or do you do > it because you like seeing Acked-by's with your name? I acked it because I could not come up with a better idea on how to solve this problem. Keeping the device page tables in sync with the CPU page tables (and sometimes different, when a page is migrated from system DRAM to VRAM) will require either expanded macros and generic walker functions like this, or trusting the device driver writers to correctly copy over example code and implement their own... I have seen too much copied-and-slightly modified code in drivers to develop a dislike for the second alternative. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org