From: Ulrich Drepper <drepper@redhat.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: Roland McGrath <roland@redhat.com>,
Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: [PATCH] __libc_alloca_cutoff (aka make mysql and others apps with very low RLIMIT_STACK setting happy)
Date: Mon, 07 Oct 2002 18:06:00 -0000 [thread overview]
Message-ID: <3DA2169B.2070004@redhat.com> (raw)
In-Reply-To: <20021008010912.K3451@sunsite.ms.mff.cuni.cz>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jakub Jelinek wrote:
> --- libc/include/alloca.h.jj 2002-09-30 16:45:04.000000000 +0200
> +++ libc/include/alloca.h 2002-10-08 00:12:01.000000000 +0200
> @@ -11,4 +11,16 @@ extern void *__alloca (size_t __size);
> # define __alloca(size) __builtin_alloca (size)
> #endif /* GCC. */
>
> +extern size_t __libc_alloca_cutoff;
> +libc_hidden_proto (__libc_alloca_cutoff)
We should have this variable per-thread (use __thread). Tis way a few
worker threads using very small stack do not affect to whole process.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9ohab2ijCOnn/RHQRAnG+AKCOmM3rdHa+1Q2TxeRHC4wOQfR9cQCdHVoy
zx1jQytduWhMy1HB9GC3MCE=
=7Sy3
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2002-10-07 23:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-07 16:20 Jakub Jelinek
2002-10-07 18:06 ` Ulrich Drepper [this message]
2002-10-07 21:43 ` Roland McGrath
2002-10-08 0:21 ` Ulrich Drepper
[not found] ` <20021008024727.D5659@devserv.devel.redhat.com>
2002-10-08 7:11 ` Ulrich Drepper
2002-10-09 2:47 ` [PATCH] __libc_use_alloca (aka make mysql and others apps with very low RLIMIT_STACK setting happy; take 2) Jakub Jelinek
2002-10-09 6:07 ` Ulrich Drepper
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=3DA2169B.2070004@redhat.com \
--to=drepper@redhat.com \
--cc=jakub@redhat.com \
--cc=libc-hacker@sources.redhat.com \
--cc=roland@redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).