Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752279AbbBWVaJ (ORCPT ); Mon, 23 Feb 2015 16:30:09 -0500 Received: from mout.gmx.net ([212.227.17.22]:59707 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751959AbbBWVaH (ORCPT ); Mon, 23 Feb 2015 16:30:07 -0500 Message-ID: <54EB9B9D.9040704@gmx.de> Date: Mon, 23 Feb 2015 22:29:01 +0100 From: Heinrich Schuchardt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: Peter Zijlstra CC: Andrew Morton , Aaron Tomlin , Andy Lutomirski , Davidlohr Bueso , David Rientjes , "David S. Miller" , Fabian Frederick , Guenter Roeck , "H. Peter Anvin" , Ingo Molnar , Jens Axboe , Joe Perches , Johannes Weiner , Kees Cook , Michael Marineau , Oleg Nesterov , "Paul E. McKenney" , Prarit Bhargava , Rik van Riel , Rusty Russell , Steven Rostedt , Thomas Gleixner , Vladimir Davydov , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4 v4] kernel/fork.c: avoid division by zero References: <20150222075825.GA20626@gmail.com> <1424722477-23758-1-git-send-email-xypron.glpk@gmx.de> <1424722477-23758-3-git-send-email-xypron.glpk@gmx.de> <20150223211002.GG5029@twins.programming.kicks-ass.net> In-Reply-To: <20150223211002.GG5029@twins.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:EVzBcaxttMUWU03eG3W6KR6ZnE+L5G9oizxmG6qNFTXJOkr+WVT bpvTiNgv7O11PeOeHI3aW5dP8AxEug5QgzmtMQtpztnr7ZTO4Vvb27IPnEzpN+AzVpGldv9 GA/JBVQBqgA8nHjdxRfW1KOeOhv+x/qRCqSrIYNWdgh9aVulBeimxFiJn9OeEW1S9vaDUXF 3Om8C68vDoZPvFt2vMPlA== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 30 On 23.02.2015 22:10, Peter Zijlstra wrote: > On Mon, Feb 23, 2015 at 09:14:35PM +0100, Heinrich Schuchardt wrote: >> With 32-bit calculus there is no solution which delivers valid results >> for all possible combinations of the parameters. > > So I can't help but be bugged by this (my problem I know); calculus is > the mathematics of change; its differential equations and integrals. Yes, I used the wrong word. Thanks. > > What we do here is modular arithmetic on a commutative ring. > > Please use calculation as you do here: > >> Hence a 64-bit calculation can be used as solution. > > Is it only the text of the commit message that needs change? Best regards Heinrich -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/