[linux-mm-cc] [RFC PATCH] WKdm workset pre-alloc

Nitin Gupta nitingupta.mail at gmail.com
Sat May 5 06:46:11 EDT 2007


Hi,

On 5/5/07, Anderson Briglia <anderson.briglia at indt.org.br> wrote:
> Hi all,
>
> This patch is just a hack regarding the first activity for CCache ToDo list[1]: 1) Enhance current static compressed
> caching code - Critical vulnerability.
>
> This patch allocates, at ccache initialization, the memory used for WKdm compression algo working area.


This patch does not handle the case where more than 1 page is being
compressed in parallel (pre-emption/SMP). In this case both parallel
paths will use same pre-allocated buffer causing data corruption.

Cheers,
Nitin


More information about the linux-mm-cc mailing list