From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161224AbXDSJEy (ORCPT ); Thu, 19 Apr 2007 05:04:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S2993209AbXDSJEy (ORCPT ); Thu, 19 Apr 2007 05:04:54 -0400 Received: from koto.vergenet.net ([210.128.90.7]:39815 "EHLO koto.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161224AbXDSJEx (ORCPT ); Thu, 19 Apr 2007 05:04:53 -0400 Date: Thu, 19 Apr 2007 18:04:36 +0900 From: Simon Horman To: "Eric W. Biederman" Cc: ", containers@lists.osdl.org, Oleg Nesterov , Christoph Hellwig , linux-kernel@vger.kernel.org, Wensong Zhang , Julian Anastasov Subject: Re: [PATCH] ipv4/ipvs: Convert to kthread API Message-ID: <20070419090435.GB26050@verge.net.au> References: <11769696262330-git-send-email-ebiederm@xmission.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11769696262330-git-send-email-ebiederm@xmission.com> User-Agent: mutt-ng/devel-r804 (Debian) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 19, 2007 at 01:58:57AM -0600, Eric W. Biederman wrote: > From: Eric W. Biederman > > Modify startup of ipvs sync threads to use kthread_run > instead of a weird combination of calling kernel_thread > to start a fork_sync_thread whose hole purpose in life was > to call kernel_thread again starting the actually sync thread > which called daemonize. > > To use kthread_run I had to move the name calcuation from > sync_thread into start_sync_thread resulting in a small > amount of code motion. > > The result is simpler and more maintainable piece of code. Thanks Eric, I'll review this and get back to you shortly. -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/