From: Jakub Jelinek <jakub@redhat.com>
To: linux-kernel@vger.kernel.org
Subject: Re: LDT_ENTRIES in ldt.h: why 8192?
Date: Wed, 13 Feb 2002 15:27:56 -0500 [thread overview]
Message-ID: <20020213152756.F21624@devserv.devel.redhat.com> (raw)
In-Reply-To: <20020213121848.A31469@mallard.plaza.ds.adp.com>
In-Reply-To: <20020213121848.A31469@mallard.plaza.ds.adp.com>; from setha@plaza.ds.adp.com on Wed, Feb 13, 2002 at 12:18:48PM -0800
On Wed, Feb 13, 2002 at 12:18:48PM -0800, Seth D. Alford wrote:
> I'm getting "ldt allocation failures" on one of my systems. I know of Manfred
> Spraul's patch for this for 2.4.17. I'm using 2.4.12, though, and was
> wondering about an alternate solution. What would happen if LDT_ENTRIES was
> reduced, to, say, 4096, or 512, instead of 8192?
>
> .../include/asm-i386/ldt.h specifies:
>
> /* Maximum number of LDT entries supported. */
> #define LDT_ENTRIES 8192
>
> This was set to 8192 in version 0.99.15, in December, 1993, according to what I
> could find by retrieving different revisions of the kernel.
E.g. linuxthreads can eat up to 1024 LDT entries, but that's not very common.
IMHO there should be a single entry LDT, the emulation 5 entry LDT (current
default_ldt), 512 entries LDT (page) and then the full blown 8192 entries
LDT variants. Will post a patch once I finish it.
Jakub
next prev parent reply other threads:[~2002-02-13 20:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-13 20:18 Seth D. Alford
2002-02-13 20:27 ` Jakub Jelinek [this message]
2002-02-13 20:44 ` Alan Cox
2002-02-13 20:47 ` Alan Cox
2002-03-13 0:28 ` Seth D. Alford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020213152756.F21624@devserv.devel.redhat.com \
--to=jakub@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®