Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5004049ybi; Tue, 11 Jun 2019 17:10:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZQQCFMxYhHflx5MeTNrPFH91TEYC1XcsYU6VnuBtxTsuhhlzaC5LbBvFgvgH7dhPfIimz X-Received: by 2002:a63:d415:: with SMTP id a21mr4781118pgh.229.1560298209519; Tue, 11 Jun 2019 17:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560298209; cv=none; d=google.com; s=arc-20160816; b=Mc51V0EycuAdN2kqJQ7eotXGbM8nkU76hTglirTCJyr9YrIx2PDRitDDnwMWC426TG YAq9eXzP2V4XPgsS6Jy64Dr6vrqIAx4vQReGZCoODNrnAS/L2EF82F7aI+NnpQmXMrNu Wex9uZ8zv9Z0dASRTEK8R7X5/w1kk/9nmuqD8fUC+N8yGlpyqkTfYDvzPP3vVmmM+HEB DvKTQqIa4aqekaPu7ITWM5/U/Y2NgR7xYqcGuv1LzWcRgGb3bkIkfNjecRDEaRj4K1+c q3ACBLXo5A/3VEtzBV+P2jx497tlKVOW7rA4vYLPARp6W3TqyvJ8Jhf2nnr2d4FumzSk rteQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=cHQwQdsrkTpqJAyug+FT0E9rG91BoWa0X7Lnvcu63U0=; b=j6xpE8NGu14t1+qkeEDk/hqL/FiLACZ2m5KDDPKNYcw9VA0ksbbd8uaRtnW3naShYx kmvgaKAzFkCvRQruzn62RKo8b9zc9q1JhsqwtHFVQlZvSMP6Y/FfrbtojuHwmQ5UhKZ9 R9BCSO8jtUi83nQI8ED6Zox4iDhomRo6ZhVg/GuC2glC3zcxBdxRG1nxv3rINO2n71qR +HFN6cjRjaASHxeo7UlgKM62pIlnDElpFXM9eK97OSS/FW0mlDVCw28z+naWjRJ+uPwn isHRIH/WRNFpE4K8QjK7s3vgYakFCPjQw+dJsYbB4Z9sbbE/i2VdrbmqYmv0XQ+H9wk7 KhdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=sf4Wv0oO; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10si6163217plo.297.2019.06.11.17.09.54; Tue, 11 Jun 2019 17:10:09 -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=fail header.i=@gmail.com header.s=20161025 header.b=sf4Wv0oO; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405705AbfFKTwO (ORCPT + 99 others); Tue, 11 Jun 2019 15:52:14 -0400 Received: from mail-pl1-f175.google.com ([209.85.214.175]:33231 "EHLO mail-pl1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405039AbfFKTwO (ORCPT ); Tue, 11 Jun 2019 15:52:14 -0400 Received: by mail-pl1-f175.google.com with SMTP id g21so5580039plq.0; Tue, 11 Jun 2019 12:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cHQwQdsrkTpqJAyug+FT0E9rG91BoWa0X7Lnvcu63U0=; b=sf4Wv0oOKP6ccpJ9YkQOGUDhSjYMBG+KudnxXTcqLAYPTss2vsI1fbeHmcwPPphcXk eATLNIRLct9/VRTkALmNlWMYfZd4ArOl2dDKv2RD398ontULghP25qT50pgbWNv4RPRF 77gUEK//iTYsdIcrlUK0eU8HjK4D6OkpZM4MQ+WSPhskB0w41UOsJhrx8kG0Sn5KXqpg W30qKAytIPB0KJaNA2/a92tHIIvpb7rkfdOzP2u/VtulBlUvKeF5aRsPWlUK4K9CTGn2 50YrHtyYEwlfXxS0bAkqes8kZlPigVckJQmBPYD/bHVUi4pGGlu4cvhg22lMAOvYaJt0 lHAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=cHQwQdsrkTpqJAyug+FT0E9rG91BoWa0X7Lnvcu63U0=; b=LNHBBXb4OIglVDkIc11t3Z2Kq5sg/xnML8Ds5skZnVguwuVE9XsAAjuR1y+SZwOCSg 8J+4E7voiM/HYiKcei1zrtm0REK3k7TihYnYVpJcvWAi7o4Xg4/PzUKHhhz6S0CjkWAA WEHmAIqGTEXSmuw9DgfMa4Ybfv0rVFN0Op0CQjziOEYABX3HUvGI/+sRF+/JAF1fK2kq 3/IwhyFk8hYxE9JXbaIdNYZiWQT69BpHjQdJYOFzj+TvvseIrbID7HiKoEpsZboAbtIu Tt/enagBPidZrxEJ9SOI8B0Y9dIjeyc+5Pc+FsL6ZwlQZ5CbSyPOyxmmzqRPuf/61w4l MtdA== X-Gm-Message-State: APjAAAUk2FFtwNnKCanztpHT85FZqOP6RyDrDT+2wf9oQ9S7CGJIzr0x dirtrBkJPUvuE0hUp8AoXBA= X-Received: by 2002:a17:902:b592:: with SMTP id a18mr52750895pls.278.1560282733634; Tue, 11 Jun 2019 12:52:13 -0700 (PDT) Received: from localhost ([2620:10d:c091:500::2:1677]) by smtp.gmail.com with ESMTPSA id d4sm18814972pfc.149.2019.06.11.12.52.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 12:52:12 -0700 (PDT) Date: Tue, 11 Jun 2019 12:52:10 -0700 From: Tejun Heo To: Mike Rapoport Cc: Daniel Jordan , hannes@cmpxchg.org, jiangshanlai@gmail.com, lizefan@huawei.com, bsd@redhat.com, dan.j.williams@intel.com, dave.hansen@intel.com, juri.lelli@redhat.com, mhocko@kernel.org, peterz@infradead.org, steven.sistare@oracle.com, tglx@linutronix.de, tom.hromatka@oracle.com, vdavydov.dev@gmail.com, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [RFC v2 0/5] cgroup-aware unbound workqueues Message-ID: <20190611195210.GK3341036@devbig004.ftw2.facebook.com> References: <20190605133650.28545-1-daniel.m.jordan@oracle.com> <20190605135319.GK374014@devbig004.ftw2.facebook.com> <20190606061525.GD23056@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190606061525.GD23056@rapoport-lnx> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Thu, Jun 06, 2019 at 09:15:26AM +0300, Mike Rapoport wrote: > > Can you please go into more details on the use cases? > > If I remember correctly, the original Bandan's work was about using > workqueues instead of kthreads in vhost. For vhosts, I think it might be better to stick with kthread or kthread_worker given that they can consume lots of cpu cycles over a long period of time and we want to keep persistent track of scheduling states. Thanks. -- tejun