lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Aug 2010 18:04:03 -0700
From:	San Mehat <san@...gle.com>
To:	Arve Hjønnevåg <arve@...roid.com>
Cc:	Minchan Kim <minchan.kim@...il.com>,
	Alejandro Riveira Fernández <ariveira@...il.com>,
	swetland@...gle.com, linux-kernel <linux-kernel@...r.kernel.org>,
	linux-mm@...ck.org
Subject: Re: android-kernel memory reclaim x20 boost?

On Wed, Aug 18, 2010 at 6:01 PM, Arve Hjønnevåg <arve@...roid.com> wrote:
> On Wed, Aug 18, 2010 at 5:54 PM, Minchan Kim <minchan.kim@...il.com> wrote:
>> On Thu, Aug 19, 2010 at 12:26 AM, Alejandro Riveira Fernández
>> <ariveira@...il.com> wrote:
>>> El Thu, 19 Aug 2010 00:18:57 +0900
>>> Minchan Kim <minchan.kim@...il.com> 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 <san@...gle.com>
> 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 <san@...gle.com>
>
>
> --
> Arve Hjønnevåg
>



-- 
San Mehat  |  Staff Software Engineer  |  Infrastructure  |  Google Inc.
415.366.6172 (san@...gle.com)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ