From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756672Ab1JAP3n (ORCPT ); Sat, 1 Oct 2011 11:29:43 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:46722 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751782Ab1JAP3g (ORCPT ); Sat, 1 Oct 2011 11:29:36 -0400 Date: Sat, 1 Oct 2011 17:29:31 +0200 From: Frederic Weisbecker To: Andrew Morton Cc: LKML , Paul Menage , Li Zefan , Johannes Weiner , Aditya Kali , Oleg Nesterov , Kay Sievers , Tim Hockin , Tejun Heo Subject: Re: [RFC PATCH 11/12] cgroups: Allow subsystems to cancel a fork Message-ID: <20111001152927.GD3391@somewhere> References: <1315267986-28937-1-git-send-email-fweisbec@gmail.com> <1315267986-28937-12-git-send-email-fweisbec@gmail.com> <20110915140941.6b278dfb.akpm@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110915140941.6b278dfb.akpm@google.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 On Thu, Sep 15, 2011 at 02:09:41PM -0700, Andrew Morton wrote: > On Tue, 6 Sep 2011 02:13:05 +0200 > Frederic Weisbecker wrote: > > > Let the subsystem's fork callback return an error value so > > that they can cancel a fork. This is going to be used by > > the task counter subsystem to implement the limit. > > This breaks the build quite gruesomely with CONFIG_CGROUPS=n. I looked > at doing a quick fix but that would just have piled ugly on ugly. > Sorry about that. I'm fixing the whole so that it builds with or without cgroups. I'm also improving the documentation and changelog along the way. Thanks.