tree 3030a0ee387f3187a5a30f8f4cc745788c7d69e7 parent 123f94f22e3d283dfe68742b269c245b0501ad82 author Francisco Jerez 1278208987 +0200 committer Dave Airlie 1278468851 +1000 drm/ttm: Allocate the page pool manager in the heap. Repeated ttm_page_alloc_init/fini fails noisily because the pool manager kobj isn't zeroed out between uses (we could do just that but statically allocated kobjects are generally considered a bad thing). Move it to kzalloc'ed memory. Note that this patch drops the refcounting behavior of the pool allocator init/fini functions: it would have led to a race condition in its current form, and anyway it was never exploited. This fixes a regression with reloading kms modules at runtime, since page allocator was introduced. Signed-off-by: Francisco Jerez Signed-off-by: Dave Airlie î…8C“;x