Re: [PATCH v3 1/6] zbud: use page ref counter for zbud pages

2013-10-09 Thread Krzysztof Kozlowski
On wto, 2013-10-08 at 15:43 -0500, Seth Jennings wrote: > On Tue, Oct 08, 2013 at 03:29:35PM +0200, Krzysztof Kozlowski wrote: > > Use page reference counter for zbud pages. The ref counter replaces > > zbud_header.under_reclaim flag and ensures that zbud page won't be freed > > when zbud_free()

Re: [PATCH v3 1/6] zbud: use page ref counter for zbud pages

2013-10-09 Thread Krzysztof Kozlowski
On wto, 2013-10-08 at 15:43 -0500, Seth Jennings wrote: On Tue, Oct 08, 2013 at 03:29:35PM +0200, Krzysztof Kozlowski wrote: Use page reference counter for zbud pages. The ref counter replaces zbud_header.under_reclaim flag and ensures that zbud page won't be freed when zbud_free() is

[PATCH v3 1/6] zbud: use page ref counter for zbud pages

2013-10-08 Thread Krzysztof Kozlowski
Use page reference counter for zbud pages. The ref counter replaces zbud_header.under_reclaim flag and ensures that zbud page won't be freed when zbud_free() is called during reclaim. It allows implementation of additional reclaim paths. The page count is incremented when: - a handle is created

[PATCH v3 1/6] zbud: use page ref counter for zbud pages

2013-10-08 Thread Krzysztof Kozlowski
Use page reference counter for zbud pages. The ref counter replaces zbud_header.under_reclaim flag and ensures that zbud page won't be freed when zbud_free() is called during reclaim. It allows implementation of additional reclaim paths. The page count is incremented when: - a handle is created