[lkml]   [2012]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 04/10] memcg: skip memcg kmem allocations in specified code regions
    On Wed, Jul 25, 2012 at 06:38:15PM +0400, Glauber Costa wrote:
    > This patch creates a mechanism that skip memcg allocations during
    > certain pieces of our core code. It basically works in the same way
    > as preempt_disable()/preempt_enable(): By marking a region under
    > which all allocations will be accounted to the root memcg.
    > We need this to prevent races in early cache creation, when we
    > allocate data using caches that are not necessarily created already.

    Why not a GFP_* flag?

    Kirill A. Shutemov

     \ /
      Last update: 2012-07-30 15:21    [W:0.037 / U:5.324 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site