From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752517Ab1HPTgj (ORCPT ); Tue, 16 Aug 2011 15:36:39 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:54663 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751843Ab1HPTgi (ORCPT ); Tue, 16 Aug 2011 15:36:38 -0400 Date: Tue, 16 Aug 2011 21:36:34 +0200 From: Tejun Heo To: Oleg Nesterov Cc: Andrew Morton , Kentaro Takeda , Tetsuo Handa , Matt Fleming , linux-kernel@vger.kernel.org Subject: Re: [PATCH] tomoyo: remove tomoyo_gc_thread()->daemonize() Message-ID: <20110816193634.GE2803@mtj.dyndns.org> References: <20110816183405.GA3257@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110816183405.GA3257@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 16, 2011 at 08:34:05PM +0200, Oleg Nesterov wrote: > daemonize() is only needed when a user-space task does kernel_thread(). > > tomoyo_gc_thread() is kthread_create()'ed and thus it doesn't need > the soon-to-be-deprecated daemonize(). > > Signed-off-by: Oleg Nesterov Acked-by: Tejun Heo -- tejun