lkml.org 
[lkml]   [2017]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 14/20] mm: Provide speculative fault infrastructure
    On (08/18/17 00:05), Laurent Dufour wrote:
    [..]
    > + /*
    > + * MPOL_INTERLEAVE implies additional check in mpol_misplaced() which
    > + * are not compatible with the speculative page fault processing.
    > + */
    > + pol = __get_vma_policy(vma, address);
    > + if (!pol)
    > + pol = get_task_policy(current);
    > + if (pol && pol->mode == MPOL_INTERLEAVE)
    > + goto unlock;

    include/linux/mempolicy.h defines

    struct mempolicy *get_task_policy(struct task_struct *p);
    struct mempolicy *__get_vma_policy(struct vm_area_struct *vma,
    unsigned long addr);

    only for CONFIG_NUMA configs.

    -ss

    \
     
     \ /
      Last update: 2017-08-20 14:16    [W:4.280 / U:0.256 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site