From: Tejun Heo Subject: Re: [PATCH 06/13] cpuset: cleanup cpuset[_can]_attach() Date: Wed, 2 Jan 2013 21:29:11 -0500 Message-ID: <20130103022911.GH11220@mtj.dyndns.org> References: <1354138460-19286-1-git-send-email-tj@kernel.org> <1354138460-19286-7-git-send-email-tj@kernel.org> <50DACF5B.6050705@huawei.com> <20121226120415.GA18193@mtj.dyndns.org> <87zk0s5h7c.fsf@rustcorp.com.au> <20130102153439.GA11220@mtj.dyndns.org> <871ue35bzk.fsf@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=Cybk5ovaMrV2W3ijvD+kxJEm+MfxfBElxE7l85nJx9M=; b=rICXFFY2l+souPFv2K7OTPNE5MpvydJvwgRA0VQlCJojZwyuWSNw+9eK7pJ3WrsHYs NxPWr7qNigUOnlIzrpZbAEFTmbbfsHnUjK0sBFus5tAIAjlyiesmUPO6zuvKxhv36fFC puulHGhj9ojAivFJabzUSx+ZF2KUqqbgVsUGbwErT1NJ6oshtqrRhDZ3G3ozZEArOLP2 naN0DPKBlAhEAk15GW1O5juw1o2D4IqaELl7+/FQG2osjPvYG+YsWegxC47AxIa1XYzH iYIZtaV0Xb5Aau10UQm2aN421nEEASbagbKvIz0SF7SJk1/oFA8uhi0OYPdy52DGO6Uz wHSQ== Content-Disposition: inline In-Reply-To: <871ue35bzk.fsf-8n+1lVoiYb80n/F98K4Iww@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Rusty Russell Cc: paul-inf54ven1CmVyaH7bEyXVA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, mhocko-AlSwsSmVLrQ@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Hello, Rusty. On Thu, Jan 03, 2013 at 11:17:11AM +1030, Rusty Russell wrote: > > So, I guess this currently is caught in a place which isn't here or > > there. I'm pretty skeptical whether it makes sense to bother about > > static usages tho. Can I keep them for static ones? > > I didn't realize that cpuset_attach was a fastpath. If it is, put a It isn't a hot path. It's just a bit nasty to have to allocate them separately. > static there and I'll fix turn it into a bitmap when I need to. > Otherwise, please don't change the code in the first place. So, the plan to drop cpumask_t is still on? If so, I'll leave cpumask_var_t. Thanks. -- tejun