From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amerigo Wang Subject: Re: [RFC][v3][PATCH 1/7] Factor out code to allocate pidmap page Date: Mon, 1 Jun 2009 16:16:35 +0800 Message-ID: <20090601081635.GA4381@cr0.nay.redhat.com> References: <20090530235714.GA4083@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20090530235714.GA4083-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> 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: Sukadev Bhattiprolu Cc: Containers , "David C. Hansen" List-Id: containers.vger.kernel.org On Sat, May 30, 2009 at 04:57:14PM -0700, Sukadev Bhattiprolu wrote: > >From: Sukadev Bhattiprolu >Date: Mon, 4 May 2009 01:17:39 -0700 >Subject: [RFC][v3][PATCH 1/7] Factor out code to allocate pidmap page > >To implement support for clone_with_pids() system call we would >need to allocate pidmap page in more than one place. Move this >code to a new function alloc_pidmap_page(). > >Changelog[v2]: > - (Matt Helsley, Dave Hansen) Have alloc_pidmap_page() return > -ENOMEM on error instead of -1. > >Signed-off-by: Sukadev Bhattiprolu >Acked-by: Serge Hallyn >Reviewed-by: Oren Laadan Looks good! Reviewed-by: WANG Cong