From: Ulrich Drepper <drepper@redhat.com>
To: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] updated *at function patch
Date: Sat, 07 Jan 2006 00:02:32 -0800 [thread overview]
Message-ID: <43BF7598.1070702@redhat.com> (raw)
In-Reply-To: <20060106234738.2445520e.akpm@osdl.org>
[-- Attachment #1: Type: text/plain, Size: 1912 bytes --]
Andrew Morton wrote:
> We don't have changelogs for these patches. Apart from the usual
> what-it-does and how-it-does it I'd really like to be reminded of the
> "why". Adding a bunch of stuff to the core kernel codepaths needs to have
> a good reason and I've forgotten your rationale.
This is the intro from the first set of patches I sent (I adjusted it
for the additional syscalls):
====
Here is a series of patches which introduce in total 13 new system calls
which take a file descriptor/filename pair instead of a single file
name. These functions, openat etc, have been discussed on numerous
occasions. They are needed to implement race-free filesystem traversal,
they are necessary to implement a virtual per-thread current working
directory (think multi-threaded backup software), etc.
We have in glibc today implementations of the interfaces which use the
/proc/self/fd magic. But this code is rather expensive. Here are some
results (similar to what Jim Meyering posted before).
The test creates a deep directory hierarchy on a tmpfs filesystem. Then
rm -fr is used to remove all directories. Without syscall support I get
this:
real 0m31.921s
user 0m0.688s
sys 0m31.234s
With syscall support the results are much better:
real 0m20.699s
user 0m0.536s
sys 0m20.149s
=====
> We'll need Signed-off_by:'s for all these patches.
I'm not sure how you want to handle this. I don't particularly want to
resent all of them just for this purpose.
[PATCH 1/3] updated *at function patch
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
[PATCH 2/3] updated *at function patch
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
[PATCH 3/3] updated *at function patch
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
prev parent reply other threads:[~2006-01-07 8:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-06 19:04 [PATCH 0/3] updated *at function patch Ulrich Drepper
2006-01-07 7:47 ` Andrew Morton
2006-01-07 8:02 ` Ulrich Drepper [this message]
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=43BF7598.1070702@redhat.com \
--to=drepper@redhat.com \
--cc=akpm@osdl.org \
--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