Thread (29 messages) 29 messages, 5 authors, 2026-01-22

Re: [PATCH RESEND 09/12] mm: make vm_area_desc utilise vma_flags_t only

flat view

From: Arnd Bergmann <arnd@arndb.de>
Date: 2026-01-20 16:45:05
Also in: dri-devel, intel-gfx, keyrings, linux-cxl, linux-ext4, linux-fsdevel, linux-mm, linux-xfs, lkml, ntfs3, nvdimm

On Tue, Jan 20, 2026, at 17:22, Lorenzo Stoakes wrote:
On Tue, Jan 20, 2026 at 05:00:28PM +0100, Arnd Bergmann wrote:
quoted
On Tue, Jan 20, 2026, at 16:10, Lorenzo Stoakes wrote:
quoted
It strikes me that the key optimisation here is the inlining, now if the issue
is that ye olde compiler might choose not to inline very small functions (seems
unlikely) we could always throw in an __always_inline?
I can think of three specific things going wrong with structures passed
by value:
I mean now you seem to be talking about it _in general_ which, _in theory_,
kills the whole concept of bitmap VMA flags _altogether_ really, or at
least any workable version of them.
No, what I'm saying is "understand what the pitfalls are", not
"don't do it". I think that is what Jason was also getting at.

     Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help