Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755338Ab0KAWAW (ORCPT ); Mon, 1 Nov 2010 18:00:22 -0400 Received: from smtp-out.google.com ([216.239.44.51]:19750 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755293Ab0KAWAT (ORCPT ); Mon, 1 Nov 2010 18:00:19 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qVew6XN/luaQ1+KJrIjpeUa8GAK4/IUgg50jVVmaV9BI5EFh7EhIms3nL1sS8ceQfv JQJIW/6ECv2QrcUbg6tw== MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 1 Nov 2010 15:00:14 -0700 Message-ID: Subject: Re: [PATCH] cgroup: Avoid a memset by using vzalloc From: Paul Menage To: Jesper Juhl Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Li Zefan , containers@lists.linux-foundation.org Content-Type: text/plain; charset=ISO-8859-1 X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 493 Lines: 14 On Sat, Oct 30, 2010 at 2:35 PM, Jesper Juhl wrote: > Hi, > > We can avoid doing a memset in swap_cgroup_swapon() by using vzalloc(). > > > Signed-off-by: Jesper Juhl Acked-by: Paul Menage -- 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/