Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751283Ab0HSBEJ (ORCPT ); Wed, 18 Aug 2010 21:04:09 -0400 Received: from smtp-out.google.com ([74.125.121.35]:31153 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972Ab0HSBEH convert rfc822-to-8bit (ORCPT ); Wed, 18 Aug 2010 21:04:07 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=VLAdZZK45n9B52hrFXYQXWffFTEjbKyO0UscZGvSp5/e5cUv85IKeLrcGrVP6v3N/ GZYFIrRCDZn4IiC/VUjqQ== MIME-Version: 1.0 In-Reply-To: References: <20100818151857.GA6188@barrios-desktop> <20100818172627.7e38969f@varda> Date: Wed, 18 Aug 2010 18:04:03 -0700 Message-ID: Subject: Re: android-kernel memory reclaim x20 boost? From: San Mehat To: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= Cc: Minchan Kim , =?ISO-8859-1?Q?Alejandro_Riveira_Fern=E1ndez?= , swetland@google.com, linux-kernel , linux-mm@kvack.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2008 Lines: 63 On Wed, Aug 18, 2010 at 6:01 PM, Arve Hj?nnev?g wrote: > On Wed, Aug 18, 2010 at 5:54 PM, Minchan Kim wrote: >> On Thu, Aug 19, 2010 at 12:26 AM, Alejandro Riveira Fern?ndez >> wrote: >>> El Thu, 19 Aug 2010 00:18:57 +0900 >>> Minchan Kim escribi?: >>> >>>> Hello Android forks, >>> [ ... ] >>>> >>>> I saw the advertisement phrase in this[1]. >>>> >>>> "Kernel Memory Management Boost: Improved memory reclaim by up to 20x, >>>> which results in faster app switching and smoother performance >>>> on memory-constrained devices." >>>> >>>> But I can't find any code for it in android kernel git tree. >>> >>> ?Maybe the enhancements are on the Dalvik VM (shooting in the dark here) >> >> Thanks. >> Android guys! Could you confirm this? >> > > It is more likely referring to this change: > There are other changes after the one mentioned that remove the requirement for CONFIG_PROFILING (and the subsequent task_struct leak that was caused by it) -san > Author: San Mehat > Date: ? Wed May 5 11:38:42 2010 -0700 > > ? ?staging: android: lowmemkiller: Substantially reduce overhead during reclaim > > ? ?This patch optimizes lowmemkiller to not do any work when it has > an outstanding > ? ?kill-request. This greatly reduces the pressure on the task_list lock > ? ?(improving interactivity), as well as improving the vmscan performance > ? ?when under heavy memory pressure (by up to 20x in tests). > > ? ?Note: For this enhancement to work, you need CONFIG_PROFILING > > ? ?Signed-off-by: San Mehat > > > -- > Arve Hj?nnev?g > -- San Mehat ?| ?Staff Software Engineer ?| ?Infrastructure ?| ?Google Inc. 415.366.6172 (san@google.com) -- 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/