Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756286AbdIHOi5 (ORCPT ); Fri, 8 Sep 2017 10:38:57 -0400 Received: from mail-qt0-f193.google.com ([209.85.216.193]:35540 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754879AbdIHOiz (ORCPT ); Fri, 8 Sep 2017 10:38:55 -0400 X-Google-Smtp-Source: AOwi7QBVpnP1J7+Fx20KKnsOqnmq5JppCqexLIXIObHW5uzrDA5egsfKMVF3eTDq55B/QrFQhiGWrA== Date: Fri, 8 Sep 2017 07:38:46 -0700 From: Tejun Heo To: Shaohua Li Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, lizefan@huawei.com, tglx@linutronix.de, kernel-team@fb.com, axboe@kernel.dk, Shaohua Li Subject: Re: [PATCH 1/3] kthread: add a mechanism to store cgroup info Message-ID: <20170908143846.GX1774378@devbig577.frc2.facebook.com> References: <9d25e5bed5ef2fad5f8a817e293f0d93e3b329c2.1504748195.git.shli@fb.com> <20170908143537.GW1774378@devbig577.frc2.facebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170908143537.GW1774378@devbig577.frc2.facebook.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 459 Lines: 13 On Fri, Sep 08, 2017 at 07:35:37AM -0700, Tejun Heo wrote: > * It's a bit weird to associate a kthread with a css without being > specific. If what's needed is a generic association (this kthread > is temporarily servicing this cgroup), it should be associated with > the cgroup. But, I think it'd be better to make it specific instead > - ie. kthread_set_io_css(). kthread[_set]_blkcg_css() probably is a more consistent name. Thanks. -- tejun