[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: Bloat caused by unnecessary calls to compound_head()?
From:       "George Spelvin" <linux () horizon ! com>
Date:       2016-03-27 20:33:04
Message-ID: 20160327203304.9695.qmail () ns ! horizon ! com
[Download RAW message or body]

Could you just mark compound_head __pure?  That would tell the compiler
that it's safe to re-use the return value as long as there is no memory
mutation in between.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic