Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759571AbZLOKTO (ORCPT ); Tue, 15 Dec 2009 05:19:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759426AbZLOKTN (ORCPT ); Tue, 15 Dec 2009 05:19:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52011 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753183AbZLOKTM (ORCPT ); Tue, 15 Dec 2009 05:19:12 -0500 Date: Tue, 15 Dec 2009 11:18:21 +0100 From: Veaceslav Falico To: Andrew Morton Cc: Oleg Nesterov , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Al Viro , Miloslav Trmac , James Morris , Alan Cox , Ingo Molnar , Peter Zijlstra , Balbir Singh , Alexey Dobriyan , Heiko Carstens , Renaud Lottiaux , Louis Rilling , David Howells , Stanislaw Gruszka Subject: [PATCH v3 0/4 -mmotm] copy_signal() cleanup Message-ID: <20091215101821.GA9134@darkmag.usersys.redhat.com> References: <20091201221036.GA10052@darkmag.usersys.redhat.com> <20091202135759.GA791@redhat.com> <20091204142814.GH10052@darkmag.usersys.redhat.com> <20091207123615.fc841a83.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091207123615.fc841a83.akpm@linux-foundation.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 820 Lines: 18 Use kmem_cache_zalloc() instead of kmem_cache_alloc() and remove all unneeded initializations from copy_signal() and several other functions. Should be applied on top of 0cf55e1ec08bb5a22e068309e2d8ba1180ab4239 commit. drivers/char/tty_audit.c | 1 - include/linux/acct.h | 2 -- include/linux/sched.h | 2 -- include/linux/taskstats_kern.h | 7 ------- kernel/acct.c | 10 ---------- kernel/fork.c | 38 +------------------------------------- 6 files changed, 1 insertions(+), 59 deletions(-) --- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/