From: David Mosberger <davidm@napali.hpl.hp.com>
To: Roland McGrath <roland@redhat.com>
Cc: Jeff Garzik <jgarzik@pobox.com>,
Linus Torvalds <torvalds@transmeta.com>,
linux-kernel@vger.kernel.org, Ulrich Drepper <drepper@redhat.com>
Subject: Re: [PATCH] i386 vsyscall DSO implementation
Date: Fri, 25 Apr 2003 09:21:46 -0700 [thread overview]
Message-ID: <16041.24730.267207.671647@napali.hpl.hp.com> (raw)
In-Reply-To: <200304250210.h3P2AoU12348@magilla.sf.frob.com>
I like this. Even better would be if all platforms could do the same.
I'm definitely interested in doing something similar for ia64 (the
getunwind() syscall was always just a stop-gap solution).
I assume that these kernel ELF images would then show up in
dl_iterate_phdr()?
To complete the picture, it would be nice if the kernel ELF images
were mappable files (either in /sysfs or /proc) and would show up in
/proc/PID/maps. That way, a distributed application such as a remote
debugger could gain access to the kernel unwind tables on a remote
machine (assuming you have a remote filesystem).
--david
>>>>> On Thu, 24 Apr 2003 19:10:50 -0700, Roland McGrath <roland@redhat.com> said:
>> We already embed a cpio archive into __initdata space. What
>> about putting the images in there, and either copying the data
>> out of initramfs, or, directly referencing the pages that store
>> each image?
Roland> It doesn't matter to me, but I don't see the benefit to
Roland> doing that. It's rather unlike what initramfs is used for
Roland> now and would need a bunch of extra code to accomplish
Roland> something very simple.
Roland> The DSO images are not stored page-aligned and padded in the
Roland> kernel image, so the pages can't be used directly. Storing
Roland> them that way would use more space in the kernel image on
Roland> disk, and then you'd want to free initdata page containing
Roland> the unused one.
next prev parent reply other threads:[~2003-04-25 16:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 1:10 Roland McGrath
2003-04-25 1:49 ` Jeff Garzik
2003-04-25 2:10 ` Roland McGrath
2003-04-25 16:21 ` David Mosberger [this message]
2003-04-25 21:00 ` H. Peter Anvin
2003-04-25 21:17 ` David Mosberger
2003-04-25 21:20 ` H. Peter Anvin
2003-04-25 21:50 ` David Mosberger
2003-04-26 22:06 ` Roland McGrath
2003-04-26 17:15 ` 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=16041.24730.267207.671647@napali.hpl.hp.com \
--to=davidm@napali.hpl.hp.com \
--cc=davidm@hpl.hp.com \
--cc=drepper@redhat.com \
--cc=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=roland@redhat.com \
--cc=torvalds@transmeta.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
all inboxes | Powered by JetHome®