public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Roland McGrath <roland@redhat.com>
Cc: libc-hacker@sources.redhat.com
Subject: Re: [PATCH] Fix tst-aio7.
Date: Thu, 06 Mar 2003 19:56:00 -0000	[thread overview]
Message-ID: <3E67A823.9030102@redhat.com> (raw)
In-Reply-To: <200303061937.h26JbgT21780@magilla.sf.frob.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:

> How so?  The test looks clearly wrong to me.  aio_suspend will return when
> the CB0 request is done, and the CB1 request is still outstanding.  Unless
> we synchronize with that request, CB1 is still in the aio data structures
> when it is no longer live on the stack.

Then these variables have to have global scope.

The test in question was also testing that the AIO handling at exit time
is leak-free.  There is not explicit test but one easily sees system
resources being depleated.  This is important once we have a
kernel-supported AIO implementation.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Z6gj2ijCOnn/RHQRAiM/AKCMnrRh33tGLQtD4OX/25RZUY/YPACgof8+
1u4fOGGrnW8cD7ftE0vbQ14=
=FNCu
-----END PGP SIGNATURE-----

  reply	other threads:[~2003-03-06 19:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-06 15:11 Martin Schwidefsky
2003-03-06 19:17 ` Roland McGrath
2003-03-06 19:32   ` Ulrich Drepper
2003-03-06 19:37     ` Roland McGrath
2003-03-06 19:56       ` Ulrich Drepper [this message]
2003-03-06 20:21         ` Roland McGrath

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=3E67A823.9030102@redhat.com \
    --to=drepper@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).