From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754258Ab1DGPgd (ORCPT ); Thu, 7 Apr 2011 11:36:33 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:47541 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751702Ab1DGPgb (ORCPT ); Thu, 7 Apr 2011 11:36:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=KNH++jBTvrkKI7KEABLVhYFYTkdmpsXd8f2MGQAbWADun5Ub/zqZJj0g059Q2IcXI6 f7SB0SNOmeV+nS8v9S1fwt2gMc3fy9izaavvUgKiNCV0L4RpvpaO06oo0VV61qIMN00i YYMzUMohOpR21n+E+RGrzRa7YA21k7SmSz6ck= Subject: Re: Regression from 2.6.36 From: Eric Dumazet To: Changli Gao Cc: =?ISO-8859-1?Q?Am=E9rico?= Wang , Jiri Slaby , azurIt , linux-kernel@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Jiri Slaby In-Reply-To: References: <20110315132527.130FB80018F1@mail1005.cent> <20110317001519.GB18911@kroah.com> <20110407120112.E08DCA03@pobox.sk> <4D9D8FAA.9080405@suse.cz> <1302177428.3357.25.camel@edumazet-laptop> <1302178426.3357.34.camel@edumazet-laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 07 Apr 2011 17:36:26 +0200 Message-ID: <1302190586.3357.45.camel@edumazet-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le jeudi 07 avril 2011 à 23:27 +0800, Changli Gao a écrit : > azurlt, would you please test the patch attached? Thanks. > Yes of course, I meant to reverse the patch (use kmalloc() under PAGE_SIZE, vmalloc() for 'big' allocs) Dont fallback to vmalloc if kmalloc() fails. if (size <= PAGE_SIZE) return kmalloc(size, GFP_KERNEL); else return vmalloc(size); From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Regression from 2.6.36 Date: Thu, 07 Apr 2011 17:36:26 +0200 Message-ID: <1302190586.3357.45.camel@edumazet-laptop> References: <20110315132527.130FB80018F1@mail1005.cent> <20110317001519.GB18911@kroah.com> <20110407120112.E08DCA03@pobox.sk> <4D9D8FAA.9080405@suse.cz> <1302177428.3357.25.camel@edumazet-laptop> <1302178426.3357.34.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Am=E9rico?= Wang , Jiri Slaby , azurIt , linux-kernel@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Jiri Slaby To: Changli Gao Return-path: In-Reply-To: Sender: owner-linux-mm@kvack.org List-Id: linux-fsdevel.vger.kernel.org Le jeudi 07 avril 2011 =C3=A0 23:27 +0800, Changli Gao a =C3=A9crit : > azurlt, would you please test the patch attached? Thanks. >=20 Yes of course, I meant to reverse the patch (use kmalloc() under PAGE_SIZE, vmalloc() for 'big' allocs) Dont fallback to vmalloc if kmalloc() fails. if (size <=3D PAGE_SIZE) return kmalloc(size, GFP_KERNEL); else return vmalloc(size); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter= .ca/ Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id 200DC8D003B for ; Thu, 7 Apr 2011 11:36:33 -0400 (EDT) Received: by wwi18 with SMTP id 18so5183057wwi.2 for ; Thu, 07 Apr 2011 08:36:30 -0700 (PDT) Subject: Re: Regression from 2.6.36 From: Eric Dumazet In-Reply-To: References: <20110315132527.130FB80018F1@mail1005.cent> <20110317001519.GB18911@kroah.com> <20110407120112.E08DCA03@pobox.sk> <4D9D8FAA.9080405@suse.cz> <1302177428.3357.25.camel@edumazet-laptop> <1302178426.3357.34.camel@edumazet-laptop> Content-Type: text/plain; charset="UTF-8" Date: Thu, 07 Apr 2011 17:36:26 +0200 Message-ID: <1302190586.3357.45.camel@edumazet-laptop> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Changli Gao Cc: =?ISO-8859-1?Q?Am=E9rico?= Wang , Jiri Slaby , azurIt , linux-kernel@vger.kernel.org, Andrew Morton , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Jiri Slaby Le jeudi 07 avril 2011 A 23:27 +0800, Changli Gao a A(C)crit : > azurlt, would you please test the patch attached? Thanks. > Yes of course, I meant to reverse the patch (use kmalloc() under PAGE_SIZE, vmalloc() for 'big' allocs) Dont fallback to vmalloc if kmalloc() fails. if (size <= PAGE_SIZE) return kmalloc(size, GFP_KERNEL); else return vmalloc(size); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org