{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsiburu.hatenablog.com%2Fentry%2F2017%2F01%2F19%2F162036\" title=\"ALLOC_FAIR\u30d5\u30e9\u30b0\u306b\u3064\u3044\u3066 - Siburlog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2017-01-19 16:20:36","categories":[],"version":"1.0","type":"rich","author_name":"siburu","url":"https://siburu.hatenablog.com/entry/2017/01/19/162036","provider_name":"Hatena Blog","title":"ALLOC_FAIR\u30d5\u30e9\u30b0\u306b\u3064\u3044\u3066","height":"190","description":"\u6982\u8981 Linux\u30ab\u30fc\u30cd\u30eb\u306e\u30e1\u30e2\u30ea\u30da\u30fc\u30b8\u5272\u308a\u5f53\u3066\u306b\u95a2\u3059\u308b\u30e1\u30e2\u3002 ALLOC_FAIR \u3068\u3044\u3046\u30d5\u30e9\u30b0\u306b\u3064\u3044\u3066\u8aac\u660e\u3059\u308b\u3002 \u30da\u30fc\u30b8\u5272\u308a\u5f53\u3066\u51e6\u7406 \u95a2\u6570\u5192\u982d\u306e\u30b3\u30e1\u30f3\u30c8\u3067 This is the 'heart' of the zoned buddy allocator. \u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u901a\u308a\u3001\u30da\u30fc\u30b8\u5272\u308a\u5f53\u3066\u51e6\u7406\u306e\u4e2d\u5fc3\u306f\u95a2\u6570 __alloc_pages_nodemask() \u304c\u62c5\u3063\u3066\u3044\u308b\u3002 __alloc_pages_nodemask() \u306e\u51e6\u7406\u306f\u3056\u3063\u304f\u308a\u8a00\u3046\u3068\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3042\u308b\u3002 First allocation attempt \u95a2\u6570 get_page_from_freelist()\u3067\u30da\u30fc\u30b8\u5272\u308a\u5f53\u3066\u3092\u8a66\u307f\u308b\u3002 \u2026","author_url":"https://blog.hatena.ne.jp/siburu/","blog_url":"https://siburu.hatenablog.com/","width":"100%","blog_title":"Siburlog","image_url":null,"provider_url":"https://hatena.blog"}