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