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

From: David Howells
Date: Fri Apr 09 2021 - 12:03:57 EST


David Howells <dhowells@xxxxxxxxxx> 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