Received: by 10.223.164.202 with SMTP id h10csp350103wrb; Mon, 6 Nov 2017 07:39:42 -0800 (PST) X-Google-Smtp-Source: ABhQp+QPazy1SY6LIzQ+6Nr1j3yOEVtKxNRay2P19c6mA+BbGWdUftSVBUUP/SA/fgeBf8urBaak X-Received: by 10.99.4.209 with SMTP id 200mr16082147pge.123.1509982782395; Mon, 06 Nov 2017 07:39:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509982782; cv=none; d=google.com; s=arc-20160816; b=AvzYms+MrZfHH4+hKQduBBWCQpW2cZHDweKAEYVuRAjMiSbAZ6qofz0/mwTSrhD1fN ZnPUgUhEZ/VcGyvfYlNBm31MfgcEgHt5EAHq6LgdFhQA+XWCVfEYm5kznOyJUsySw/qC ykoD6zmywlYB+wvqUjhCV5jsxZBovIj16gHMIPp5+ELtfQ8QrRglI+Bh7H4qdknQ8hyS 40d2LKuUwvRHMVYDHI0QPzOTFvIAsTeVfiCfX8d7e/dzM80nOa/xZoiXFD9WioIFKXro reBsllnF2oTqd6znLUcGdg3F9Ch/v0myRzpRp22ZegMCcrxgwxphKTgAOWeRcmEaWRIB jWGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=Ga5sO/2y+bBuWC/3xVeny/xHpV9I1LQO8gGu7AwDlJo=; b=IfdbPJguu2YfM7new8K94b397kjDxBbZLp6k5dupyLESKGZZdPqzqkxrwB3UeojPZN 43yc0J4xYnBCERFc+6YieIN58siOBYaLJtRWuW3dprgHeAFMAxa180YNRM7v323P+5VG XybNr3L0pBg5S0+wCAC1DfkNi9tsZH1icrnind/l2nCJ8u+L6OkQpXuqXvzF5EBhQmVm AUYS1j8nvM/e/Lwb31Aze/aOiKObvxAh34VVaqISfliVFcG/nojF0rxy5yKA+6EIakYX rnKl9pVvICaJKW7LMTi+inebFbQELT3825FcddeHIfpJQWLDXHKcQ0TTYQGtEQfw4cci UvBQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q15si7207294pgc.21.2017.11.06.07.39.28; Mon, 06 Nov 2017 07:39:42 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753955AbdKFPis (ORCPT + 97 others); Mon, 6 Nov 2017 10:38:48 -0500 Received: from resqmta-ch2-10v.sys.comcast.net ([69.252.207.42]:39988 "EHLO resqmta-ch2-10v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753670AbdKFPiq (ORCPT ); Mon, 6 Nov 2017 10:38:46 -0500 Received: from resomta-ch2-02v.sys.comcast.net ([69.252.207.98]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id BjU5eKgdk1tTqBjU5ehYra; Mon, 06 Nov 2017 15:38:45 +0000 Received: from gentwo.org ([98.222.162.64]) by resomta-ch2-02v.sys.comcast.net with SMTP id BjU4eylJ7N5w4BjU4e9t4P; Mon, 06 Nov 2017 15:38:45 +0000 Received: by gentwo.org (Postfix, from userid 1001) id 320B711602A7; Mon, 6 Nov 2017 09:38:44 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 2E504116020D; Mon, 6 Nov 2017 09:38:44 -0600 (CST) Date: Mon, 6 Nov 2017 09:38:44 -0600 (CST) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Chris Metcalf cc: Steven Rostedt , Ingo Molnar , Peter Zijlstra , Andrew Morton , Rik van Riel , Tejun Heo , Frederic Weisbecker , Thomas Gleixner , "Paul E. McKenney" , Viresh Kumar , Catalin Marinas , Will Deacon , Andy Lutomirski , Daniel Lezcano , Francis Giraldeau , linux-mm@vger.kernel.org, linux-doc@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v16 00/13] support "task_isolation" mode In-Reply-To: <1509728692-10460-1-git-send-email-cmetcalf@mellanox.com> Message-ID: References: <1509728692-10460-1-git-send-email-cmetcalf@mellanox.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfA/+BnEpPnxLKzCLpJv/CbzgX1ZPpHb0gp98bd8socMHRkFS5bspIUlW7NTKMhszBnTn7/AmtOKDi7THhF9qNIVBnyFi4eQiy1HGEAPME3ECBXBnSUV/ u8pl9UqpMm64twoaHK5K+usM2jdFsCAfY6L94JKwWIrgbcCZQpA6y295W9FkESsPPC6xxWUyoWbTLQjDXlT3wNgwc0A/L8ARO21yXiiM1keYJNwZSL3RfV/+ W++RJXD0nqEopuM2cLDzylmR+ahvfw5b/Gk/3CIA0mMph5JbHB22R/IwcBv/+RdlQc2bcCveyrzpT0sx7zLqRrUIwIPrNUNs1fBCQJIFMe4s9KG+moFjIM/G 871bmAu02FxSilGbTWozU9VysAwMhTlwekE7aklte8jsoOztHzFrx6Jm+/cOmB3fV0vl5WNUnB4TaSElhk/C2CVMrG7pkhjkWxbIlTOm3wwXTJnv0ZLh7FrV FaUsjCi7ywlzQas47yqikF1IriVkzJq6Loq8L0R0MMhZQXu7NFO5wMZTGspVbOQNNEu4wI15DPMb/tMMqpJsjJhVVDrRzF2sP439J2N9I1W2R6msNRDcOG7p KeHaP6jSvNlzUW88zj1s6w33hERYp/RlJj1wghi99xBPP/aOM/cquQd2/weOPfpcoZlZ3Q56xm8ydKkNYyHh9U8t+/UlLy9dSE2CJ9R36r6t0KUU7rjyAP4W ROG3OgGynhfnm8vxt4NM/OHnq0KEEDzj0wWa5JEAZAhUAPGpL0BrqySTL+mfwZYyzELDLuL2B3KdMgSaYYH/IEflt8sgzxrG Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 3 Nov 2017, Chris Metcalf wrote: > However, it doesn't seem possible to do the synchronous cancellation of > the vmstat deferred work with irqs disabled, though if there's a way, > it would be a little cleaner to do that; Christoph? We can certainly > update the statistics with interrupts disabled via > refresh_cpu_vm_stats(false), but that's not sufficient. For now, I Callig quiet_vmstat() gives you the folding of the statistics without the numa page allocator page cleanup. Leaving some pages in the queues should not be that much of an issue. > What about that d*mn 1 Hz clock? > > It's still there, so this code still requires some further work before > it can actually get a process into long-term task isolation (without > the obvious one-line kernel hack). Frederic suggested a while ago > forcing updates on cpustats was required as the last gating factor; do > we think that is still true? Christoph was working on this at one > point - any progress from your point of view? Well if you still have the 1 HZ clock then you can simply defer the numa remote page cleanup of the page allocator to that the time you execute that tick. From 1583065471526173767@xxx Fri Nov 03 17:08:01 +0000 2017 X-GM-THRID: 1583065471526173767 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread