Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750719AbWAaJLB (ORCPT ); Tue, 31 Jan 2006 04:11:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750721AbWAaJLB (ORCPT ); Tue, 31 Jan 2006 04:11:01 -0500 Received: from mail.tv-sign.ru ([213.234.233.51]:55499 "EHLO several.ru") by vger.kernel.org with ESMTP id S1750719AbWAaJLA (ORCPT ); Tue, 31 Jan 2006 04:11:00 -0500 Message-ID: <43DF3BB7.B423AC08@tv-sign.ru> Date: Tue, 31 Jan 2006 13:28:07 +0300 From: Oleg Nesterov X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Kirill Korotaev Cc: "Eric W. Biederman" , Ingo Molnar , linux-kernel@vger.kernel.org, Jeff Dike , Andrew Morton Subject: Re: [PATCH 2/3] pidhash: don't use zero pids References: <43DDF323.4517C349@tv-sign.ru> <43DEFFB7.6010404@sw.ru> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 850 Lines: 25 Hello Kirill, Kirill Korotaev wrote: > > Hello Oleg, > > I had quite the same comment, but had no time to check it. > I can't understand what problem do you solve, or just making code > cleaner (from your point of view)? Please look at http://marc.theaimsgroup.com/?t=113851660700001 > For me it was quite natural that pid=0 is used by idle, and I'm very > suspicuos about such changes. This patch does not change idle's pid, it is still 0. It changes ->pgrp and ->session only from 0 to 1. Currently kernel threads run with 0,0 unless they call daemonize() which does set_special_pids(1, 1). 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/