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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 10 Aug 2021 16:32:57 +0100 From: David Howells <dhowells@...hat.com> To: "Matthew Wilcox (Oracle)" <willy@...radead.org> Cc: dhowells@...hat.com, linux-kernel@...r.kernel.org, linux-mm@...ck.org, linux-fsdevel@...r.kernel.org, Christoph Hellwig <hch@....de>, Jeff Layton <jlayton@...nel.org>, "Kirill A . Shutemov" <kirill.shutemov@...ux.intel.com>, Vlastimil Babka <vbabka@...e.cz>, William Kucharski <william.kucharski@...cle.com> Subject: Re: [PATCH v14 019/138] mm/filemap: Add folio_lock_killable() Matthew Wilcox (Oracle) <willy@...radead.org> wrote: > This is like lock_page_killable() but for use by callers who > know they have a folio. Convert __lock_page_killable() to be > __folio_lock_killable(). This saves one call to compound_head() per > contended call to lock_page_killable(). > > __folio_lock_killable() is 19 bytes smaller than __lock_page_killable() > was. filemap_fault() shrinks by 74 bytes and __lock_page_or_retry() > shrinks by 71 bytes. That's a total of 164 bytes of text saved. > > Signed-off-by: Matthew Wilcox (Oracle) <willy@...radead.org> > Reviewed-by: Christoph Hellwig <hch@....de> > Acked-by: Jeff Layton <jlayton@...nel.org> > Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com> > Acked-by: Vlastimil Babka <vbabka@...e.cz> > Reviewed-by: William Kucharski <william.kucharski@...cle.com> Reviewed-by: David Howells <dhowells@...hat.com>
Powered by blists - more mailing lists