From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751539AbaCTHHU (ORCPT ); Thu, 20 Mar 2014 03:07:20 -0400 Received: from mga09.intel.com ([134.134.136.24]:50668 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750922AbaCTHHS convert rfc822-to-8bit (ORCPT ); Thu, 20 Mar 2014 03:07:18 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,692,1389772800"; d="scan'208";a="476203168" From: "Dilger, Andreas" To: Peter Zijlstra CC: Oleg Nesterov , Peng Tao , "Linux Kernel Mailing List" , Ingo Molnar , "Drokin, Oleg" Subject: Re: [PATCH RFC] sched: introduce add_wait_queue_exclusive_head Thread-Topic: [PATCH RFC] sched: introduce add_wait_queue_exclusive_head Thread-Index: AQHPQqvhmGRT/iVq/UyFTbqnXI+TbZrnTU6AgAAE6ACAAAPpAIAACxSAgAAbjICAAKeMgIAA/mUA///AHQCAAGeEAIAAVyGA Date: Thu, 20 Mar 2014 07:06:48 +0000 Message-ID: References: <1395148208-2209-1-git-send-email-bergwolf@gmail.com> <20140318133331.GA23193@laptop.programming.kicks-ass.net> <20140318140504.GD23193@laptop.programming.kicks-ass.net> <20140318162319.GB5669@redhat.com> <20140319173330.GA11923@redhat.com> <20140319195520.GF8557@laptop.programming.kicks-ass.net> In-Reply-To: <20140319195520.GF8557@laptop.programming.kicks-ass.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.252.132.228] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2014/03/19, 1:55 PM, "Peter Zijlstra" wrote: >On Wed, Mar 19, 2014 at 07:44:29PM +0000, Dilger, Andreas wrote: >> The original reason for l_wait_event() not using TASK_UNINTERRUPTIBLE >> is to avoid the load on the server continually being >>"num_service_threads" >> regardless of whether they are actually doing something or not. We >> added various cases for periodic wakeups and such afterward. > >Hmm, maybe we should finally do the TASK_IDLE thing; > > https://lkml.org/lkml/2013/11/12/710 That looks pretty interesting, and appears to do what we need. Cheers, Andreas -- Andreas Dilger Lustre Software Architect Intel High Performance Data Division