[lkml]   [2012]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC, PATCH, RESEND] fs: push rcu_barrier() from deactivate_locked_super() to filesystems
    On Sat, Jun 09, 2012 at 01:14:46AM +0300, Kirill A. Shutemov wrote:
    > > The implementation would be less unpleasant if we could do the
    > > rcu_barrier() in kmem_cache_destroy(). I can't see a way of doing that
    > > without adding a dedicated slab flag, which would require editing all
    > > the filesystems anyway.
    > I think rcu_barrier() for all kmem_cache_destroy() would be too expensive.

    You've got to be kidding. Please, show us the codepath that would be hot
    enough to make that too expensive and would contain kmem_cache_destroy().
    Note that module unload is *not* a hot path - not on any even remotely sane

     \ /
      Last update: 2012-06-09 01:01    [W:0.022 / U:63.172 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site