lkml.org 
[lkml]   [2017]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:sched/core] sched/idle: Micro-optimize the idle loop
On Thu, Oct 26, 2017 at 02:31:34AM -0700, tip-bot for Cheng Jian wrote:
> After patch (execution in loop):
> 872: 0f ae e8 lfence

> ARM64:

> After patch (execution in loop):
> c84: d5033d9f dsb ld

> @@ -225,7 +226,7 @@ static void do_idle(void)
> check_pgt_cache();
> rmb();

I never could find a reason for that rmb() to exist, it also lacks a
clarifying comment.

We should perhaps attempt removing that...

\
 
 \ /
  Last update: 2017-10-26 15:42    [W:0.035 / U:24.456 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site