Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 6 Feb 2002 10:30:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 6 Feb 2002 10:30:37 -0500 Received: from lightning.swansea.linux.org.uk ([194.168.151.1]:26377 "EHLO the-village.bc.nu") by vger.kernel.org with ESMTP id ; Wed, 6 Feb 2002 10:30:22 -0500 Subject: Re: kernel: ldt allocation failed To: vda@port.imtp.ilyichevsk.odessa.ua Date: Wed, 6 Feb 2002 15:37:21 +0000 (GMT) Cc: ak@suse.de (Andi Kleen), linux-kernel@vger.kernel.org In-Reply-To: <200202061402.g16E2Nt32223@Port.imtp.ilyichevsk.odessa.ua> from "Denis Vlasenko" at Feb 06, 2002 04:02:25 PM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: From: Alan Cox Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > > allocation a bit (= not allocate 64K of vmalloc space every time > > sys_modify_ldt is called - there is only 8MB of it) > > What do they use on arches without LDT or equivalent? Generally on such platforms you have enough registers to use a register for your thread specific storage. In fact even the kernel does that - you'll find 'current' on some platforms is a global register variable - 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/