lkml.org 
[lkml]   [2008]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 15/21] Filesystem: XFS slab defragmentation
    On Fri, May 09, 2008 at 08:08:46PM -0700, Christoph Lameter wrote:
    > + kmem_cache_setup_defrag(xfs_vnode_zone, get_inodes, kick_inodes);

    So you're exporting get_inodes and kick_inodes just to use it in always
    the same way. Much better to have a kmem_cache_set_inode_defrag helper
    and keep them static in inode.c



    \
     
     \ /
      Last update: 2008-05-10 08:59    [W:4.345 / U:0.512 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site