tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Ekaitz Zárraga 👹 (ekaitz_zarraga@mastodon.social)'s status on Thursday, 09-Dec-2021 17:01:41 CET Ekaitz Zárraga 👹 Ekaitz Zárraga 👹
    • Shamar

    @Shamar You are saying this as if fork was a good thing. It's not!

    In conversation Thursday, 09-Dec-2021 17:01:41 CET from mastodon.social permalink
    • shamar@qoto.org's status on Thursday, 09-Dec-2021 18:35:21 CET Shamar Shamar
      in reply to

      @ekaitz_zarraga

      Why?

      And well can it be worse then malloc/free?

      In conversation Thursday, 09-Dec-2021 18:35:21 CET permalink
    • shamar@qoto.org's status on Thursday, 09-Dec-2021 19:55:38 CET Shamar Shamar

      @ekaitz_zarraga

      Well, this is a good answer, but in fact, on plan9 you only get a new process: memory is only copied on write.

      So it's not necessarily a malloc.

      Also rfork give you a good degree of control on what is copied.

      In conversation Thursday, 09-Dec-2021 19:55:38 CET permalink
    • shamar@qoto.org's status on Thursday, 09-Dec-2021 21:31:36 CET Shamar Shamar

      @ekaitz_zarraga

      But AFAIK this happens with malloc too: pages are assigned to processes only on read/write faults. In modern systems memory is always overcommitted.

      It is dangerous, but consider the alternative: most allocated memory would stay unused and you could run a fraction of the programs you run on the same hardware.

      In conversation Thursday, 09-Dec-2021 21:31:36 CET permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.