Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751623AbWADJL3 (ORCPT ); Wed, 4 Jan 2006 04:11:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751635AbWADJL3 (ORCPT ); Wed, 4 Jan 2006 04:11:29 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:19117 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S1751623AbWADJL2 (ORCPT ); Wed, 4 Jan 2006 04:11:28 -0500 Date: Wed, 4 Jan 2006 10:11:09 +0100 (MET) From: Jan Engelhardt To: Eric Dumazet cc: Andrew Morton , Linux kernel Subject: Re: [PATCH] Shrinks sizeof(files_struct) and better layout In-Reply-To: <43BB1178.7020409@cosmosbay.com> Message-ID: References: <20051108185349.6e86cec3.akpm@osdl.org> <437226B1.4040901@cosmosbay.com> <20051109220742.067c5f3a.akpm@osdl.org> <4373698F.9010608@cosmosbay.com> <43BB1178.7020409@cosmosbay.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 591 Lines: 18 > 2) Reduces the size of (files_struct), using a special 32 bits (or 64bits) > embedded_fd_set, instead of a 1024 bits fd_set for the close_on_exec_init and > open_fds_init fields. This save some ram (248 bytes per task) > as most tasks dont open more than 32 files. How do you know, have you done some empirical testing? Jan Engelhardt -- - 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/