Linux debuggers
 help / color / mirror / Atom feed
From: "Petr Tesařík" <petr@tesarici.cz>
To: linux-debuggers@vger.kernel.org,
	Alexander Kamensky <alexander.kamensky42@gmail.com>
Subject: Aggregated address spaces in libkdumpfile
Date: Mon, 6 Nov 2023 08:01:16 +0100	[thread overview]
Message-ID: <20231106080116.29142ff0@meshulam.tesarici.cz> (raw)

Hi Alexander,

I'm taking this discussion to the linux-debugging ML, because I think
other people may be interested.

It's about this pull request:

https://github.com/ptesarik/libkdumpfile/pull/77

If my understanding is correct, it is sometimes useful to have a single
address translation which covers both kernel-space and user-space
addresses, but uses a different method to translate each.

For one thing, kernel-space and user-space cannot be distinguished by
address value alone on some architectures (hi there, S/390!), so I
wonder how to deal with the kernel-space/user-space boundary in the
general case.

If there are use cases for aggregating multiple "low-level" address
spaces into a synthetic "high-level" one, then libaddrxlat may provide
a better mechanism. OTOH this could be over-engineering if there is
only one potential use for the feature.

Has anyone else run into a similar need as Alexander?

Petr T

                 reply	other threads:[~2023-11-06  7:01 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=20231106080116.29142ff0@meshulam.tesarici.cz \
    --to=petr@tesarici.cz \
    --cc=alexander.kamensky42@gmail.com \
    --cc=linux-debuggers@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