lkml.org 
[lkml]   [2014]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/9] slab: move up code to get kmem_cache_node in free_block()
    On Fri, Feb 14, 2014 at 03:19:02PM -0800, David Rientjes wrote:
    > On Fri, 14 Feb 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.
    > >
    >
    > Would it be possible to make it const struct kmem_cache_node *n then?

    Hello, David.

    Yes, it is possible.
    If I send v2, I will change it.

    Thanks.


    \
     
     \ /
      Last update: 2014-02-17 09:21    [W:7.320 / U:0.200 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site