public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Samuel Thibault <sthibaul@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] htl: Drop duplicate check in __pthread_stack_alloc
Date: Mon,  2 Jan 2023 10:36:31 +0000 (GMT)	[thread overview]
Message-ID: <20230102103631.98E5D3858C1F@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cba62c231c0ba67b5cc6f3beb07571f316f9deeb

commit cba62c231c0ba67b5cc6f3beb07571f316f9deeb
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Jan 2 01:47:38 2023 +0100

    htl: Drop duplicate check in __pthread_stack_alloc

Diff:
---
 sysdeps/mach/htl/pt-stack-alloc.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sysdeps/mach/htl/pt-stack-alloc.c b/sysdeps/mach/htl/pt-stack-alloc.c
index cb1807cd16..d8c88fc389 100644
--- a/sysdeps/mach/htl/pt-stack-alloc.c
+++ b/sysdeps/mach/htl/pt-stack-alloc.c
@@ -57,9 +57,6 @@ get_stack:
 	return EAGAIN;
     }
 
-  if (base >= VM_MAX_ADDRESS)
-    return EAGAIN;
-
   next_stack_base = base + stacksize;
 
   (*stackaddr) = (void *) base;

                 reply	other threads:[~2023-01-02 10:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230102103631.98E5D3858C1F@sourceware.org \
    --to=sthibaul@sourceware.org \
    --cc=glibc-cvs@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).