Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: Faster _exit(2) for a faster userland: R.I.P the reaper
To:
Mark Kettenis <mark.kettenis@xs4all.nl>
Cc:
tedu@tedunangst.com, dlg@openbsd.org, visa@openbsd.org, tech@openbsd.org, jan@openbsd.org, mpi@grenadille.net, ajacoutot@openbsd.org
Date:
Mon, 05 May 2025 22:00:58 -0600

Download raw body.

Thread
  • Mark Kettenis:

    Faster _exit(2) for a faster userland: R.I.P the reaper

    • Theo de Raadt:

      Faster _exit(2) for a faster userland: R.I.P the reaper

  • Mark Kettenis:

    Faster _exit(2) for a faster userland: R.I.P the reaper

  • Marc Espie:

    Faster _exit(2) for a faster userland: R.I.P the reaper

  • Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
    
    > > It probably cannot use the guts of uvm_map_teardown(), because I think
    > > on shared-U+K architectures it can damage the kernel mappings.
    > 
    > I don't see how.  The userland vmspace should conatain no mappings
    > with kernel addresses.
    
    This is just a worry about some MD/MI mistake that might exist in
    actual code.  Same as I worry about the selectors.
    
    Obviously on the pmap side, there are multiple probable issues.
    
    claudio did something clever by moving the pmap calls, and calling it
    twice.  That moves much of the sleeping-sensitive de-allocation code
    to the process itself.  The pmap parts remain in the wrong place, because
    we need to tread more carefully with that.
    
    
  • Mark Kettenis:

    Faster _exit(2) for a faster userland: R.I.P the reaper

  • Mark Kettenis:

    Faster _exit(2) for a faster userland: R.I.P the reaper

  • Marc Espie:

    Faster _exit(2) for a faster userland: R.I.P the reaper