Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp128133imu; Fri, 16 Nov 2018 19:01:41 -0800 (PST) X-Google-Smtp-Source: AJdET5dwgnfXmMwa4b17TvAtfkDdARx1ZxKF53JI9iq4ensYqbtsIQ0S2xWNOw4ta4S1uJbgtM6y X-Received: by 2002:aa7:8497:: with SMTP id u23mr9393939pfn.220.1542423701408; Fri, 16 Nov 2018 19:01:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542423701; cv=none; d=google.com; s=arc-20160816; b=EVrK4H9oMNYWzUVqVJ5YlsLp67PzBD3kBrAqzGLOy4J1KDu1YoeZOfCKUEOgZuYSoi Z47JScLlqlxPipP+lPvK3qkKLSCaDrB/S3osxGNgpfGb5vQ4vUVuhe0xWUaZSAsUPDYG KWzJu710k2c4tJRtb50gU4Vaus+Q242l+hzlsLYdum4KKdT02odSyureg/BcAhI1vXzA N70zxluHirDJ7NI2kobF29UnADlzOMUD0uChDLAph97RCHIgk/YX+A2SLqiYUoASOlna Dy3YFv4zv2x5InzZXagjZbT4QE7llDtCmW2ug8lbIQ5iBgfXPhCAwv0E2TuJmeMKxXhK m10Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=Sc/M36Ei74RaPEa3/A8ZDHIQzv2c1MVSO4ZjZr6oH4c=; b=Y4Ow/h+T2GM0/5xCxZT7M5MBphgcW6jDGgzsNeXpDGEbgjWwUiwbvDVczHOfWjRPEn XIsAg4+OfNYSmIcLfhQAyQR6poQ1WXjR8FGkNaQKKE77DWqxSM+Yv+kHPYUsUk038k8u zrrv7Gx3HNZxvvIRmOskZPVHM9KfYP3RDewLBrBQMWMusaV3rGLVo3pTBC5XHPmWu2cg clKmD7bSpR5Q1+US5P36+pnOEPaDWJ/+HASl8IbZIUnddzwFf7w5/GQtnaSNJmEb/2E6 nLTCaA4ZKJUlPp3mKHwkDkFf8LtAC4TOog/9BhJ2u2olvxBOtvlL+mwaAqSmM+f/QQ0K 6dag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N3PbDxSU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8-v6si24665280pli.79.2018.11.16.19.01.25; Fri, 16 Nov 2018 19:01:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=N3PbDxSU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729920AbeKQNPv (ORCPT + 99 others); Sat, 17 Nov 2018 08:15:51 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:37281 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727116AbeKQNPv (ORCPT ); Sat, 17 Nov 2018 08:15:51 -0500 Received: by mail-pf1-f193.google.com with SMTP id u3-v6so9577764pfm.4 for ; Fri, 16 Nov 2018 19:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Sc/M36Ei74RaPEa3/A8ZDHIQzv2c1MVSO4ZjZr6oH4c=; b=N3PbDxSU4xQV5FRoRjIV5ocUEKL2WT3unxllxxfftO3bStY5VEG2UcVGp5R/cZfA9Q ifWb1Yof5gzGk9a9yZwPtJOWV2Rvrtyq7J4i6/NdZ7A9nP7OfhCDD171OM1cclwM6RC2 xqkRSP3fDmxhJtWyKRJTIbNxl2t7RkZL9iQE7gtMeiPs2EDaJRVEDAmVxFffdHG8q8Qg FOJOGGrnwVkn/2ac6aVqyfjcNmO2W4xy0xpWqwkyRNF2tIFvSf+op5rxQQkHYm0nwB8A k8Kjs05HRAfxtjjO5zxzeN4zhe0khmidGshByA9yy2gLFQ6ENaX+i8zOQwCahZwvmww7 alRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Sc/M36Ei74RaPEa3/A8ZDHIQzv2c1MVSO4ZjZr6oH4c=; b=TTF6T0zymX8/C71kKHQH19rJlcSkpHcYfiaaoeNv8Y4fGoXbud7AXOqWJCbGTt0WGv 8spRMYOnzAwQ/8Fcld0anAL+4s06JAYnKmb4+Gcz6G2FZMAoqj5EvHV5H7xgC38CXjYr V/VelP0NckEvS7hWylLAlmQrLa0z4f41HwnjezuROI7qFS/1b2/0ViOqNh0k1ZAYp78u bxieiJ8++OB139+X84jVvZssnxgfnt9MvgpZ13FCXUblBaIC+1UZfcJKdqE8X4lRAVZ/ PE0ot7MwAslcgHYNKbZDVwzdR3amBYs0c5rrn3/qtax45Gv6gGOrYD22SrZ4jNupmsqc hAyA== X-Gm-Message-State: AGRZ1gKooyr1Cgo9OCYOUpEdahAxmKJys8oJ1PVTgWZXa5dD2nUpPo6k sVd69EkMvp5jNHVHvITRX4E= X-Received: by 2002:a63:6dc8:: with SMTP id i191mr11852668pgc.215.1542423647845; Fri, 16 Nov 2018 19:00:47 -0800 (PST) Received: from [192.168.1.101] (122-58-176-92-adsl.sparkbb.co.nz. [122.58.176.92]) by smtp.gmail.com with ESMTPSA id q187sm6087950pfq.128.2018.11.16.19.00.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 19:00:47 -0800 (PST) Subject: Re: [RFC PATCH 01/13] arm: Fix mutual exclusion in arch_gettimeoffset To: Finn Thain , Russell King - ARM Linux References: <20181112083422.GA19695@infradead.org> <20181113092012.GI30658@n2100.armlinux.org.uk> <20181113234336.GP30658@n2100.armlinux.org.uk> <20181114141632.GT30658@n2100.armlinux.org.uk> <20181116174705.GY30658@n2100.armlinux.org.uk> Cc: Christoph Hellwig , Geert Uytterhoeven , Arnd Bergmann , Stephen N Chivers , Thomas Gleixner , Daniel Lezcano , John Stultz , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: Michael Schmitz Message-ID: Date: Sat, 17 Nov 2018 16:00:39 +1300 User-Agent: Mozilla/5.0 (X11; Linux ppc; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Finn, Am 17.11.2018 um 11:49 schrieb Finn Thain: > On Fri, 16 Nov 2018, Russell King - ARM Linux wrote: > >> >> The EBSA110 is probably in a similar boat - I don't remember whether it >> had 16MB or 32MB as the maximal amount of memory, but memory was getting >> tight with some kernels even running a minimalist userspace. >> >> So, it's probably time to say goodbyte to the kernel support for these >> platforms. >> > > Your call. > > Note that removing code from mainline won't help users obtain older, > smaller, -stable kernel releases, free from the bug we were discussing. > (The bug appeared in Linux v2.6.32.) > > BTW, if you did want to boot Linux on a 16 MB system, you do have some > options. > > https://lwn.net/Articles/741494/ > https://lwn.net/Articles/608945/ > https://tiny.wiki.kernel.org/ > > Contributing to this kind of effort probably has value for IoT > deployments. I suspect it also cuts a small amount of bloat from a large > number of other Linux systems. I boot 4.19 on a system with 14 MB RAM - 10 MB remain for user space once the kernel loads. After remote login, 4 MB of that remain free for buffers or user code (1.5 MB swapped). That's with sysvinit - Christian tried to boot a systemd userland on his Falcon once, and ran out of memory before swap could be activated. I shouldn't say 16 or 32 MB are hopeless. And the 2.6 kernels were a lot more sluggish to my recollection. Cheers, Michael