Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5397035imm; Tue, 18 Sep 2018 08:54:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZUqTmRlVpqRb4F8WVCED6cJ3kJ3VwzpB5SWgVl6bTonoFv/7I+QXBCVJ0CGafpjV69VSM3 X-Received: by 2002:a63:3642:: with SMTP id d63-v6mr28019301pga.231.1537286099025; Tue, 18 Sep 2018 08:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537286098; cv=none; d=google.com; s=arc-20160816; b=Gnjo/XVheUe1f50I34w/f0cyz43HhrYidz1aUu0GDZADF7SnQeMH94jPzRqicHPfcY yljYCVc0uA26B/i+Fapm7B2sfWbEaTQX6joQzVDQ1J3nBModzyaggFmgPqYUo8Fs82ip 7/cwoxHWNL6Jr/ImI2tXry3CIgCrPbZeWMseYhwk7uHGWqUtKOkzILgCBodOgByKyC8l LPxM3AFXJCm84k1OHQ7T9KlthHsly3FQS6huPVOHRqhnb6NzdsB8JGIsZIPW7t0J/LOy CVRHxq30f3C+gbV5nYk0JZF/4sxHZW4IFHANVdyiyJ6VfwfGgJ6LnrA5ApJWmRvmMe+R kntw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=mIa6Yf8EkdXGAgTYi62JjYg8eTugXzn7NDHtxwfIEJE=; b=JRWyAWT5KIV42CXwO3xXSfauzgooSml92K7olW2PtCteU9SenptGqzE9SRGX7Y+GMN DSTUBaR0/MAl2zNlm90slAPCjNhFZbzTiXAVwlrWYSgyNfexXyRquyk7eLzM1qkkigCw ZHq+PD7t8MXpYRXD3PgGNggPUjeY4Z1DC56RN4LQlL3Tec3/3SHU+30WLVX7fU4UH03P 2IP+z/df3NFU1lk4x8xWbbCdof54YIhHcnJVOP84Jxv6BGNn15FPuA/EBMz8E/g2CjML AGCAgnbII2hsg02uDxDmpXvjTjx+r8/6lHn8P3SJp3CqpH94DynFy6FCyNHy+dzOxnaK O0Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hpatF2We; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p82-v6si19479865pfi.345.2018.09.18.08.54.34; Tue, 18 Sep 2018 08:54:58 -0700 (PDT) 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=@google.com header.s=20161025 header.b=hpatF2We; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730176AbeIRV0t (ORCPT + 99 others); Tue, 18 Sep 2018 17:26:49 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36352 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730161AbeIRV0s (ORCPT ); Tue, 18 Sep 2018 17:26:48 -0400 Received: by mail-wr1-f68.google.com with SMTP id e1-v6so2684892wrt.3 for ; Tue, 18 Sep 2018 08:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=mIa6Yf8EkdXGAgTYi62JjYg8eTugXzn7NDHtxwfIEJE=; b=hpatF2WeoMBRAGf8wg6kgOpJRz4JTMPlXqZv9cHAFqY7r0/f2iWhDh+ruY5mH8nipc 6qQ3dfAT9FmyBHv10l/Z31NnahKwa+i/fHLcgsL3rcsQky7VUYISb1aWVBZeWKzfk51J 7FN3WzQfAVBd1z+9qSl/tpzIJokXNkFdL0GWZcuw4Og4cVqQCdMZtgFY6MNbgOPouAmp mLI3yNYyqvLliOy6ccLMPRwK2/eKEX2yfSesT0Q1l17+W2huYGkBCvLaHMBYIV5H196Q KEKlImBxcUweb8aS+V2wGuD2Z2LrxGpiGntNR4IOc8FMI0HZH2nYcg1hvzspBgeZ5q4D Dknw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=mIa6Yf8EkdXGAgTYi62JjYg8eTugXzn7NDHtxwfIEJE=; b=M4b2ILh1Jo/4Z/SuFdrfdX4KNlLN/PGN+qRCS/uCWjRNySSGiqX5XV94zi8gtKJETm +D8MzurDhuytWuZ/iaFd9kRognwzn93Jai2rTAIa/5f5heWJkqj0m4gW/a2B1P++WCXW R+xtZQXDzZR9db6Ck2PSLrA2R0zVSSHzdcV4Fu2Zk/z/Nh1V0FJFBh5sb5bUECo0Wbwp 72GKn61Sis0ttHJmzGBEM+CFHiwv1FT75/Gy2ifOk3SGoTno+2LB3r12jIkuaUcFfnif Vs4avAnerRDlXHMTDbcWD76pOGkY53uAFCV9yM3TAOLmxLdmNznK34Gde8QdC4bOzfwp DT4A== X-Gm-Message-State: APzg51DBZfmJwT+HxU+e2HQgdcJnvZT8KrI5PkTzLo+TiK/avkZI6P5J flIscY3toyvuoNxy6rG9S95sX+M9frZSXtKR7XxFbQ== X-Received: by 2002:adf:f24e:: with SMTP id b14-v6mr22185100wrp.184.1537286015426; Tue, 18 Sep 2018 08:53:35 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:c710:0:0:0:0:0 with HTTP; Tue, 18 Sep 2018 08:53:35 -0700 (PDT) In-Reply-To: References: <20180828172258.3185-1-hannes@cmpxchg.org> <20180905214303.GA30178@cmpxchg.org> <20180907110407.GQ24106@hirez.programming.kicks-ass.net> <20180907150955.GC11088@cmpxchg.org> From: Suren Baghdasaryan Date: Tue, 18 Sep 2018 08:53:35 -0700 Message-ID: Subject: Re: [PATCH 0/9] psi: pressure stall information for CPU, memory, and IO v4 To: Daniel Drake Cc: Johannes Weiner , Peter Zijlstra , Ingo Molnar , Andrew Morton , Linus Torvalds , Tejun Heo , Vinayak Menon , Christopher Lameter , Peter Enderborg , Shakeel Butt , Mike Galbraith , linux-mm , cgroups@vger.kernel.org, LKML , kernel-team@fb.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daniel, On Sun, Sep 16, 2018 at 10:22 PM, Daniel Drake wrote: > Hi Suren > > On Fri, Sep 7, 2018 at 11:58 PM, Suren Baghdasaryan wrote: >> Thanks for the new patchset! Backported to 4.9 and retested on ARMv8 8 >> code system running Android. Signals behave as expected reacting to >> memory pressure, no jumps in "total" counters that would indicate an >> overflow/underflow issues. Nicely done! > > Can you share your Linux v4.9 psi backport somewhere? > Absolutely. Let me figure out what's the best way to do share that and make sure they apply cleanly on official 4.9 (I was using vendor's tree for testing). Will need a day or so to get this done. In case you need them sooner, there were several "prerequisite" patches that I had to backport to make PSI backporting easier/possible. Following is the list as shown by "git log --oneline": PSI patches: ef94c067f360 psi: cgroup support 60081a7aeb0b psi: pressure stall information for CPU, memory, and IO acd2a16497e9 sched: introduce this_rq_lock_irq() f30268c29309 sched: sched.h: make rq locking and clock functions available in stats.h a2fd1c94b743 sched: loadavg: make calc_load_n() public 32a74dec4967 sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD 8e3991dd1a73 delayacct: track delays from thrashing cache pages 4ae940e7e6ff mm: workingset: tell cache transitions from workingset thrashing e9ccd63399e0 mm: workingset: don't drop refault information prematurely Prerequisites: b5a58c778c54 workqueue: make workqueue available early during boot ae5f39ee13b5 sched/core: Add wrappers for lockdep_(un)pin_lock() 7276f98a72c1 sched/headers, delayacct: Move the 'struct task_delay_info' definition from to 287318d13688 mm: add PageWaiters indicating tasks are waiting for a page bit edfa64560aaa sched/headers: Remove from f6b6ba853959 sched/headers: Move loadavg related definitions from to 395b0a9f7aae sched/headers: Prepare for new header dependencies before moving code to PSI patches needed some adjustments but nothing really major. > Thanks > Daniel Thanks, Suren.