public inbox for linux-um@lists.infradead.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: benjamin@sipsolutions.net, linux-um@lists.infradead.org
Cc: Benjamin Berg <benjamin.berg@intel.com>
Subject: Re: [PATCH v3 10/12] um: remove force_flush_all from fork_handler
Date: Wed, 03 Jul 2024 11:45:09 +0200	[thread overview]
Message-ID: <2784bb3e9de2ad88a48d8fa70b01c46e1b2399fc.camel@sipsolutions.net> (raw)
In-Reply-To: <20240524213718.1757703-11-benjamin@sipsolutions.net>

On Fri, 2024-05-24 at 23:37 +0200, benjamin@sipsolutions.net wrote:
> From: Benjamin Berg <benjamin.berg@intel.com>
> 
> There should be no need for this.

"should" ;-)

This breaks things if glibc enables rseq. That might even be already
broken in the sense that it might corrupt memory that's put at the same
place the rseq was installed? But it at least it appears to still work
without this patch...

As we discussed, it might thus be better to fix up the execve() patch
and do that before this.

johannes


  reply	other threads:[~2024-07-03  9:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24 21:37 [PATCH v3 00/12] Rework stub syscall and page table handling benjamin
2024-05-24 21:37 ` [PATCH v3 01/12] um: Remove stub-data.h include from common-offsets.h benjamin
2024-05-24 21:37 ` [PATCH v3 02/12] um: Create signal stack memory assignment in stub_data benjamin
2024-05-24 21:37 ` [PATCH v3 03/12] um: Add generic stub_syscall6 function benjamin
2024-05-24 21:37 ` [PATCH v3 04/12] um: Rework syscall handling benjamin
2024-05-24 21:37 ` [PATCH v3 05/12] um: compress memory related stub syscalls while adding them benjamin
2024-05-24 21:37 ` [PATCH v3 06/12] um: remove LDT support benjamin
2024-05-24 21:37 ` [PATCH v3 07/12] um: remove copy_context_skas0 benjamin
2024-05-24 21:37 ` [PATCH v3 08/12] um: Delay flushing syscalls until the thread is restarted benjamin
2024-05-24 21:37 ` [PATCH v3 09/12] um: Do not flush MM in flush_thread benjamin
2024-05-24 21:37 ` [PATCH v3 10/12] um: remove force_flush_all from fork_handler benjamin
2024-07-03  9:45   ` Johannes Berg [this message]
2024-07-03 10:08     ` Benjamin Berg
2024-07-03 10:10       ` Johannes Berg
2024-07-03 13:00     ` Johannes Berg
2024-05-24 21:37 ` [PATCH v3 11/12] um: simplify and consolidate TLB updates benjamin
2024-05-24 21:37 ` [PATCH v3 12/12] um: refactor TLB update handling benjamin

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=2784bb3e9de2ad88a48d8fa70b01c46e1b2399fc.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=benjamin.berg@intel.com \
    --cc=benjamin@sipsolutions.net \
    --cc=linux-um@lists.infradead.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