Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751582AbdH0VmN (ORCPT ); Sun, 27 Aug 2017 17:42:13 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:37271 "EHLO mail-it0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751352AbdH0VmM (ORCPT ); Sun, 27 Aug 2017 17:42:12 -0400 MIME-Version: 1.0 In-Reply-To: References: <83f675ad385d67760da4b99cd95ee912ca7c0b44.1503677178.git.tim.c.chen@linux.intel.com> From: Linus Torvalds Date: Sun, 27 Aug 2017 14:42:11 -0700 X-Google-Sender-Auth: 80nrdVGnhvMWc00tIOdlVKyJCUM Message-ID: Subject: Re: [PATCH 2/2 v2] sched/wait: Introduce lock breaker in wake_up_page_bit To: Tim Chen Cc: Mel Gorman , Peter Zijlstra , Ingo Molnar , Andi Kleen , Kan Liang , Andrew Morton , Johannes Weiner , Jan Kara , Christopher Lameter , "Eric W . Biederman" , Davidlohr Bueso , linux-mm , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 348 Lines: 13 On Sun, Aug 27, 2017 at 2:40 PM, Linus Torvalds wrote: > > End result: page is unlocked, CPU3 is waiting, nothing will wake CPU3 up. Not CPU3. CPU3 was the waker. It's thread 2 that is waiting and never got woken up, of course. Other than that, the scenario still looks real to me. Ideas? Linus