All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@redhat.com>
To: Uros Bizjak <ubizjak@gmail.com>
Cc: x86@kernel.org, linux-kernel@vger.kernel.org,
	Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@kernel.org>,
	Borislav Petkov <bp@alien8.de>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] x86/ptrace: Use savesegment() in get_segment_reg() instead of inline asm
Date: Thu, 2 Apr 2026 16:03:59 +0200	[thread overview]
Message-ID: <ac53T1473mwSFQdA@redhat.com> (raw)
In-Reply-To: <CAFULd4ZjRktq+hiN4Gj+1QnWfoDkc=wSOXuhHGyV8u+Teqiiog@mail.gmail.com>

On 04/02, Uros Bizjak wrote:
>
> On Thu, Apr 2, 2026 at 3:09 PM Uros Bizjak <ubizjak@gmail.com> wrote:
> >
> > There is a corresponding x86_32 get_segment_reg() function that has
> > the same definition of retval, I can prepare a follow-up patch that
> > changes both.
>
> Something like the attached patch that also slightly unifies x86_32 with x86_64.

OK, agreed. And this cleanup looks good to me as well.

Oleg.


      reply	other threads:[~2026-04-02 14:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-02  6:22 [PATCH] x86/ptrace: Use savesegment() in get_segment_reg() instead of inline asm Uros Bizjak
2026-04-02 12:48 ` Oleg Nesterov
2026-04-02 13:09   ` Uros Bizjak
2026-04-02 13:40     ` Uros Bizjak
2026-04-02 14:03       ` Oleg Nesterov [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=ac53T1473mwSFQdA@redhat.com \
    --to=oleg@redhat.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=tglx@kernel.org \
    --cc=ubizjak@gmail.com \
    --cc=x86@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.