GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    🐧sima🐧 (sima@chaos.social)'s status on Tuesday, 10-Sep-2024 17:42:30 JST 🐧sima🐧 🐧sima🐧
    • Greg K-H

    kangrejos in copenhagen was great, but the absolute 🤯 moment was when I learned that GFP_ stands for get_free_pages

    I had no idea. and @gregkh next to me had the same https://xkcd.com/1053/ experience

    #kernel

    In conversation about 9 months ago from chaos.social permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: imgs.xkcd.com
      Ten Thousand
    • Embed this notice
      Greg K-H (gregkh@social.kernel.org)'s status on Wednesday, 11-Sep-2024 15:18:53 JST Greg K-H Greg K-H
      in reply to
      @sima Right after this happened, I went and checked the LDD3 book, and yes it says this in the chapter about memory:

      (internally performed by calling, eventually, __get_free_pages, which is the source of the GFP_ prefix))

      So I have no excuse for not remembering this either...
      In conversation about 9 months ago permalink
      Haelwenn /элвэн/ :triskell: likes this.
    • Embed this notice
      Linus Torvalds (torvalds@social.kernel.org)'s status on Sunday, 29-Dec-2024 03:48:32 JST Linus Torvalds Linus Torvalds
      in reply to
      • Greg K-H

      @gregkh @sima “eventually calling __get_free_pages”?

      You have to realize that when the GFP_xyz flags were introduced - back in 1992 - “get_free_page()” was the only way to allocate memory.

      So “GFP” wasn’t some odd internal thing. There was nothing else (ok, there was a very simply malloc() library on top of that “you can free and allocate one page” mode).

      No “eventually” about it. It was the thing.

      In conversation about 5 months ago permalink
      Jeff "never puts away anything, especially oven mitts" Cliff, Bringer of Nightmares 🏴‍☠️🦝🐙 🇱🇧🧯 🇨🇦🐧 likes this.

Feeds

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

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.