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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190327143513.GA14931@kroah.com>
Date:   Wed, 27 Mar 2019 23:35:13 +0900
From:   Greg KH <greg@...ah.com>
To:     Zhaoyang Huang <huangzhaoyang@...il.com>
Cc:     "open list:ANDROID ION DRIVER" <devel@...verdev.osuosl.org>,
        "open list:ANDROID ION DRIVER" <dri-devel@...ts.freedesktop.org>,
        "moderated list:ANDROID ION DRIVER" <linaro-mm-sig@...ts.linaro.org>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] driver : staging : ion: optimization for decreasing
 memory fragmentaion

On Wed, Mar 20, 2019 at 02:38:23PM +0800, Zhaoyang Huang wrote:
> From: Zhaoyang Huang <zhaoyang.huang@...soc.com>
> 
> Two action for this patch:
> 1. set a batch size for system heap's shrinker, which can have it buffer
> reasonable page blocks in pool for future allocation.
> 2. reverse the order sequence when free page blocks, the purpose is also
> to have system heap keep as more big blocks as it can.
> 
> By testing on an android system with 2G RAM, the changes with setting
> batch = 48MB can help reduce the fragmentation obviously and improve
> big block allocation speed for 15%.
> 
> Signed-off-by: Zhaoyang Huang <zhaoyang.huang@...soc.com>
> ---
>  drivers/staging/android/ion/ion_heap.c        | 16 +++++++++++++++-
>  drivers/staging/android/ion/ion_system_heap.c |  2 +-
>  2 files changed, 16 insertions(+), 2 deletions(-)

What changed from v1?  Always put that below the --- line as the
documentation asks you to.

thanks,

greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ