lkml.org 
[lkml]   [2016]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH v2 2/3] xpfo: Only put previous userspace pages into the hot cache
    From
    Date
    On 09/02/2016 04:39 AM, Juerg Haefliger wrote:
    > Allocating a page to userspace that was previously allocated to the
    > kernel requires an expensive TLB shootdown. To minimize this, we only
    > put non-kernel pages into the hot cache to favor their allocation.

    But kernel allocations do allocate from these pools, right? Does this
    just mean that kernel allocations usually have to pay the penalty to
    convert a page?

    So, what's the logic here? You're assuming that order-0 kernel
    allocations are more rare than allocations for userspace?

    \
     
     \ /
      Last update: 2016-09-17 09:58    [W:4.165 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site