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] [day] [month] [year] [list]
Message-ID: <CAGsJ_4yUCEG-QyVJiCBBr+LEz4wWDpqws+NhXw6pH5C5+kNUmA@mail.gmail.com>
Date: Fri, 18 Apr 2025 08:16:08 +0800
From: Barry Song <21cnbao@...il.com>
To: David Hildenbrand <david@...hat.com>
Cc: Johannes Weiner <hannes@...xchg.org>, akpm@...ux-foundation.org, linux-mm@...ck.org, 
	linux-kernel@...r.kernel.org, Barry Song <v-songbaohua@...o.com>, 
	Baolin Wang <baolin.wang@...ux.alibaba.com>, Matthew Wilcox <willy@...radead.org>, 
	Oscar Salvador <osalvador@...e.de>, Ryan Roberts <ryan.roberts@....com>, Zi Yan <ziy@...dia.com>
Subject: Re: [RFC PATCH] mm: don't promote exclusive file folios of dying processes

On Thu, Apr 17, 2025 at 8:57 PM David Hildenbrand <david@...hat.com> wrote:
>
> >> We actually took a more aggressive approach by implementing a hook to demote
> >> exclusive folios of dying apps, which yielded good results—reducing kswapd
> >> overhead, refaults, and thrashing. Of course, it is even much more controversial
> >> than this patch.
> >
> > That doesn't sound wrong to me for Android apps.
> >
> > How about a prctl() to request the behavior for those specific app
> > processes where you have clear usage signal?
>
> I was thinking about the same, so likely that might be a viable solution.

Many thanks to both Johannes and David for the suggestion. I’d be delighted to
take a look at this.

>
> --
> Cheers,
>
> David / dhildenb
>

Thanks
Barry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ