From: Gowrishankar M Subject: pid: improved namespaced iteration over processes list (v2) Date: Thu, 18 Dec 2008 22:12:28 +0530 Message-ID: <1229618553-6348-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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: Containers Cc: Dave , Sukadev , Eric , Balbir List-Id: containers.vger.kernel.org Earlier version of this patch, attempted to change general macros for_each_process and do_each_thread which is not safe as suggested by most of reviewers. Hence, I go with adding renamed versions of them, so that we can use them only whereever needed. I will include code optimisation that Dave suggested if this patch gets approved mostly. Thanks. Gowrishankar