Messages in this thread | | | Date | Tue, 1 Jul 2014 15:21:21 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH v3 2/9] slab: move up code to get kmem_cache_node in free_block() |
| |
On Tue, 1 Jul 2014, Joonsoo Kim wrote:
> node isn't changed, so we don't need to retreive this structure > everytime we move the object. Maybe compiler do this optimization, > but making it explicitly is better. >
Qualifying the pointer as const would be even more explicit.
> Acked-by: Christoph Lameter <cl@linux.com> > Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Acked-by: David Rientjes <rientjes@google.com>
| |