Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753543AbZGANlQ (ORCPT ); Wed, 1 Jul 2009 09:41:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751571AbZGANlC (ORCPT ); Wed, 1 Jul 2009 09:41:02 -0400 Received: from mail-ew0-f210.google.com ([209.85.219.210]:38580 "EHLO mail-ew0-f210.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782AbZGANlB (ORCPT ); Wed, 1 Jul 2009 09:41:01 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:from:to:cc:subject:user-agent:mime-version :content-type; b=WpYdMu1xogCTaI38a/YZjc1Dndq+B42dfO6MUiRHBHoMXSspO4wLLhH3fOo7bzB2Zz yE9HS3X1pPeA5kbwtt2LOirCaccnTlIKLdS22PXGwz/30bQubnStWI7o277vgEnOAlA9 KgbsUSrxeORydn4buO0OXdUUAradMi7tmDAMM= Date: Wed, 01 Jul 2009 15:41:02 +0200 Message-ID: <87eit0h66p.wl%vmayatsk@redhat.com> From: Vitaly Mayatskikh To: Roland McGrath Cc: Oleg Nesterov , linux-kernel@vger.kernel.org Subject: wait_task_zombie plus WNOWAIT question User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.0 Mule/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 17 Hi! I'm working on (sigh) next version of wait_task_* cleanups and stuck in wait_task_zombie. I'm trying to move put_user(stat, wo->wo_stat) code from all wait_task_* functions to common place, but wait_task_zombie does not fill wo_stat if WNOWAIT flag is set and does it w/o that flag. Is it done so by design, or I can make user-visible change and add put_user in WNOWAIT path? Thanks! -- wbr, Vitaly -- 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/