{"provider_name":"Hatena Blog","published":"2015-01-24 23:16:24","type":"rich","author_url":"https://blog.hatena.ne.jp/masami256/","description":"slub\u306ekmem_cache_alloc()\u3001kmem_cache_free()\u6642\u306e[sg]et_freepointer()\u306e\u52d5\u304d\u3092\u78ba\u304b\u3081\u308b\u3068\u3044\u3046\u3081\u3082\u3067\u3059\u304c\u3001\u30c1\u30e9\u88cf\u3067\u3059m(__)m kmem_cache_alloc()\u3092\u547c\u3076\u3068slub\u3067\u306fslab_alloc_node()\u304c\u547c\u3070\u308c\u3066\u3001slab\u304c\u3059\u3067\u306b\u3042\u308b\u5834\u5408\u306felse\u306e\u65b9\u306b\u5165\u308b\u3002\u3053\u3053\u3067get_freepointer_safe()\u3092\u547c\u3076\u3093\u3060\u3051\u3069\u3001slab_alloc_node()\u306e\u623b\u308a\u5024\u306fnext_object\u3067\u306f\u306a\u304f\u3066\u30012411\u884c\u76ee\u306ec->freelist\u306e\u65b9\u306b\u306a\u308b\u3002 2411 object = c->freelist; 2412 page \u2026","author_name":"masami256","provider_url":"https://hatena.blog","width":"100%","image_url":"http://ecx.images-amazon.com/images/I/51XxgG6xn1L.jpg","version":"1.0","height":"190","blog_url":"https://kernhack.hatenablog.com/","url":"https://kernhack.hatenablog.com/entry/2015/01/24/231624","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernhack.hatenablog.com%2Fentry%2F2015%2F01%2F24%2F231624\" title=\"slub: [sg]et_freepointer()\u3081\u3082 - \u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u03c6(\u30fb\u30fb*)\u309e \uff73\uff70\uff9d\u3000\u30ab\u30fc\u30cd\u30eb\u3068\u304b\u5f04\u3063\u305f\u308a\u306e\u30e1\u30e2","title":"slub: [sg]et_freepointer()\u3081\u3082","categories":["linux","kernel"]}