[RFC PATCH 2/3] mm: Return bool from pagebit test functions

David Howells dhowells at redhat.com
Fri Apr 9 17:03:38 BST 2021


David Howells <dhowells at redhat.com> wrote:

> add/remove: 2/2 grow/shrink: 15/16 up/down: 408/-599 (-191)
> Function                                     old     new   delta
> iomap_write_end_inline                         -     128    +128

I can get rid of the iomap_write_end_inline() increase for my config by
marking it __always_inline, thereby getting:

add/remove: 1/2 grow/shrink: 15/15 up/down: 280/-530 (-250)

It seems that the decision whether or not to inline iomap_write_end_inline()
is affected by the switch to bool.

David




More information about the linux-afs mailing list