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]
Message-ID: <ZX8WY7s76KYr3jRE@casper.infradead.org>
Date: Sun, 17 Dec 2023 15:40:19 +0000
From: Matthew Wilcox <willy@...radead.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Yu Zhao <yuzhao@...gle.com>, Andrew Morton <akpm@...ux-foundation.org>,
	linux-mm@...ck.org, linux-kernel@...r.kernel.org,
	Jesse Barnes <jsbarnes@...gle.com>,
	Suren Baghdasaryan <surenb@...gle.com>,
	Guru Anbalagane <gurua@...gle.com>,
	David Rientjes <rientjes@...gle.com>
Subject: Re: [GIT PULL] hotfixes for 6.7-rc6

On Sat, Dec 16, 2023 at 04:16:45PM -0800, Linus Torvalds wrote:
> On Fri, 15 Dec 2023 at 20:57, Yu Zhao <yuzhao@...gle.com> wrote:
> >
> > There has been a short-term plan, i.e., moving some of folio->flags to
> > the lower bits of folio->lru so that we can drop the Kconfig
> > constraint. I have discussed this with Willy but never acted on it. My
> > priority has been to surface more of our ideas that can potentially
> > save users money on memory to the community. I'm CC'ing our team
> > leads. Please feel free to let us know your preference on the
> > priority.
> 
> This is definitely a "eventually" thing on my wishlist, so I was more
> just wanting to hear that there is a plan, and somebody working on
> it..

"eventually" we should get rid of LRUs altogether.  They're no good for
a modern CPU.

https://lore.kernel.org/linux-mm/ZTc7SHQ4RbPkD3eZ@casper.infradead.org/

I don't have much more in the way of thoughts on what this might look
like beyond that email.  I'm inclined towards something incredibly simple
like taking each 4MB chunk of memory in turn; freeing inactive pages
and marking active pages as inactive.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ