Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754416AbXHAUZs (ORCPT ); Wed, 1 Aug 2007 16:25:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750811AbXHAUZf (ORCPT ); Wed, 1 Aug 2007 16:25:35 -0400 Received: from mail.screens.ru ([213.234.233.54]:51857 "EHLO mail.screens.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750717AbXHAUZe (ORCPT ); Wed, 1 Aug 2007 16:25:34 -0400 Date: Thu, 2 Aug 2007 00:25:51 +0400 From: Oleg Nesterov To: Daniel Walker Cc: Peter Zijlstra , Ingo Molnar , Gregory Haskins , linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure Message-ID: <20070801202551.GB225@tv-sign.ru> References: <20070801002407.4973.54778.stgit@novell1.haskins.net> <1185940340.2636.97.camel@imap.mvista.com> <1185987663.12034.99.camel@twins> <1185988243.2636.126.camel@imap.mvista.com> <20070801182658.GB90@tv-sign.ru> <1185993599.2636.150.camel@imap.mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1185993599.2636.150.camel@imap.mvista.com> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 20 On 08/01, Daniel Walker wrote: > > On Wed, 2007-08-01 at 22:26 +0400, Oleg Nesterov wrote: > > > No, the "tail" option has nothing to do with prioritize, we can't remove > > it. Please look at the code. > > So you insert a work struct that executes last which wakes the flushing > thread? No, tail == 1 means a "normal" work, tail == 0 means "just after the ->current_work". Yes, the latter is to wake up the flusher at the "right time". Oleg. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/