From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f41.google.com (mail-yh0-f41.google.com [209.85.213.41]) by kanga.kvack.org (Postfix) with ESMTP id 3658C280025 for ; Mon, 10 Nov 2014 16:47:03 -0500 (EST) Received: by mail-yh0-f41.google.com with SMTP id i57so3699034yha.14 for ; Mon, 10 Nov 2014 13:47:03 -0800 (PST) Received: from mail-yh0-x233.google.com (mail-yh0-x233.google.com. [2607:f8b0:4002:c01::233]) by mx.google.com with ESMTPS id k125si19005469yka.107.2014.11.10.13.47.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Nov 2014 13:47:02 -0800 (PST) Received: by mail-yh0-f51.google.com with SMTP id c41so1225486yho.38 for ; Mon, 10 Nov 2014 13:47:01 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1415644096-3513-1-git-send-email-j.glisse@gmail.com> <1415644096-3513-4-git-send-email-j.glisse@gmail.com> <20141110205814.GA4186@gmail.com> Date: Mon, 10 Nov 2014 13:47:01 -0800 Message-ID: Subject: Re: [PATCH 3/5] lib: lockless generic and arch independent page table (gpt) v2. From: Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: owner-linux-mm@kvack.org List-ID: To: 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 , Rik van Riel , 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 Mon, Nov 10, 2014 at 1:35 PM, Linus Torvalds wrote: > > Or do you actually have a setup where actual non-CPU hardware actually > walks the page tables you create and call "page tables"? So just to clarify: I haven't looked at all your follow-up patches at all, although I've seen the overviews in earlier versions. When trying to read through the latest version, I got stuck on this one, and felt it was crazy. But maybe I'm misreading it and it actually has good reasons for it. But just from the details I look at, some of it looks too incestuous with the system (the split PTL lock use), other parts look really really odd (like the 64-bit shift counts), and some of it looks just plain buggy (the bitops for synchronization). And none of it is all that easy to actually read. Linus -- 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