From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752625AbcHAKXS (ORCPT ); Mon, 1 Aug 2016 06:23:18 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:37315 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752100AbcHAKXE (ORCPT ); Mon, 1 Aug 2016 06:23:04 -0400 MIME-Version: 1.0 In-Reply-To: <1470043872.5903.5.camel@gmail.com> References: <20160617120136.064100812@infradead.org> <20160617120454.150630859@infradead.org> <1470043872.5903.5.camel@gmail.com> From: Wanpeng Li Date: Mon, 1 Aug 2016 17:56:14 +0800 Message-ID: Subject: Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks To: Mike Galbraith Cc: Peter Zijlstra , Yuyang Du , Ingo Molnar , linux-kernel , Benjamin Segall , Paul Turner , Morten Rasmussen , Dietmar Eggemann , Matt Fleming , Vincent Guittot Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2016-08-01 17:31 GMT+08:00 Mike Galbraith : > On Mon, 2016-08-01 at 15:30 +0800, Wanpeng Li wrote: > >> What's the meaning of "the task is hashed before we call >> wake_up_new_task()"? > > See fork.c::copy_process() > > /* > * Make it visible to the rest of the system, but dont wake it up yet. > * Need tasklist lock for parent etc handling! > */ > write_lock_irq(&tasklist_lock); > .... Thanks Mike, so here "is hashed" means that add to list instead of real hashing. Regards, Wanpeng Li