Re: [PATCH 2/4] Squashfs: Generalise paging handling in thedecompressors (V3)

From: Minchan Kim
Date: Tue Nov 19 2013 - 03:10:14 EST


On Thu, Nov 14, 2013 at 05:14:17AM +0000, Phillip Lougher wrote:
> Further generalise the decompressors by adding a page handler
> abstraction. This adds helpers to allow the decompressors
> to access and process the output buffers in an implementation
> independant manner.
>
> This allows different types of output buffer to be passed
> to the decompressors, with the implementation specific
> aspects handled at decompression time, but without the
> knowledge being held in the decompressor wrapper code.
>
> This will allow the decompressors to handle Squashfs
> cache buffers, and page cache pages.
>
> This patch adds the abstraction and an implementation for
> the caches.
>
> V3: slightly optimise code in page_actor.h
>
> Signed-off-by: Phillip Lougher <phillip@xxxxxxxxxxxxxxx>
Reviewed-by: Minchan Kim <minchan@xxxxxxxxxx>

--
Kind regards,
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/