# Re: \[PATCH\] iwlwifi: Deinline iwl\_write8/write32/read32()

- From: Luca Coelho \<hidden\>
- Date: 2015-10-05 13:01:31 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2015/10/4590350
- Thread: https://ratatoskr.run/linux-wireless/2015/09/4582971/t.md

```text
Hi Denys,

On Thu, 2015-09-24 at 16:58 +0200, Denys Vlasenko wrote:
> With this .config: http://busybox.net/~vda/kernel_config_ALLYES_Os,
> after deinlining these functions have sizes and callsite counts
> as follows:
> 
> iwl_write8: 315 bytes, 3 calls
> iwl_write32: 296 bytes, 90 calls
> iwl_read32: 278 bytes, 51 calls
> 
> Total size reduction is about 40 kbytes.
> 
> Signed-off-by: Denys Vlasenko <redacted>
> CC: Johannes Berg <redacted>
> CC: Emmanuel Grumbach <redacted>
> CC: Intel Linux Wireless <redacted>
> CC: Gregory Greenman <redacted>
> CC: John Linville <redacted>
> CC: <redacted>
> CC: <redacted>

Emmanuel already wrote and applied a patch like this.  Check here:
http://mid.gmane.org/1442869141-31637-4-git-send-email-luca@coelho.fi

Thanks for your patch anyway and for reporting this. :)

--
Cheers,
Luca.
```
