lkml.org 
[lkml]   [2019]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 1/5] numa: introduce per-cgroup numa balancing locality, statistic
On Mon, Apr 22, 2019 at 10:11:24AM +0800, 王贇 wrote:
> + p->numa_faults_locality[mem_node == numa_node_id() ? 4 : 3] += pages;

Possibly: 3 + !!(mem_node = numa_node_id()), generates better code.

\
 
 \ /
  Last update: 2019-04-23 10:47    [W:0.311 / U:34.108 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site