lkml.org 
[lkml]   [2018]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 0/3] Directed kmem charging
    On Wed, 21 Feb 2018, Andrew Morton wrote:

    > What do others think?

    I think the changes to the hotpaths of the slab allocators increasing
    register pressure in some of the hotttest paths of the kernel are
    problematic.

    Its better to do the allocation properly in the task context to which it
    is finally charged. There may be other restrictions that emerge from other
    fields in the task_struct that also may influence allocation and reclaim
    behavior. It is cleanest to do this in the proper task context instead of
    taking a piece (like the cgroup) out of context.

    \
     
     \ /
      Last update: 2018-02-23 04:21    [W:5.557 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site