Skip to content

LZO and swap write failure patches for -mm

Richard Purdie lkml 1 version NAK

Status from this message: NACK

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 14 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/5Add LZO1X compression support to the kernelinclude/linux/lzo.h lib/Kconfig lib/Makefile +5 more+1624 -01 reply
2/5reiser4: use lzo library functionsfs/reiser4/Kconfig fs/reiser4/Makefile fs/reiser4/plugin/compress/Makefile +4 more+13 -22700 replies
3/5swap: Have swap_free() mark pages with errors as badinclude/linux/swap.h kernel/power/swsusp.c mm/memory.c +4 more+26 -180 replies
4/5swap: Add try_to_unuse_page_entry()include/linux/rmap.h include/linux/swap.h mm/rmap.c +1 more+63 -10 replies
5/5swap: Catch pages with errors and mark as badmm/page_io.c mm/vmscan.c+9 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -mm 0/5] LZO and swap write failure patches for -mm

The following series contains several patches which I'm hoping could see some testing in -mm. They're all been seen before at some point. The LZO ones are important due to the dependent patches, the swap write failure ones have just fallen off the radar.

LZO
===

We've seen a lot of activity in attempts to rewrite this in a CodingStyle compatible 'clean' kernel style. The last update I read has convinced me this is not ready for kernel usage at this time, particularly due to the memory alignment issues.

I would like to see a version merged in the next merge window so other patches depending on it can follow. If a better LZO implementation is eventually sorted out, it can replace the lzo core in due course, the API will be interchangeable.

I've trimmed my patch down to only contain the "safe" decompression function, pruned the headers a little further and merged in the cleanup patch I submitted to -mm previously. I've also included an updated version of the patch to make resier4 use the shared LZO functions (fixing a security hole in the process).

Swap Write Failures
===================

Currently write failures to swap are handled badly and these patches allow more graceful handling.

These have been looked at before by various people and have no known issues I'm aware of. I don't think Hugh has time to review these so if anyone else familiar with the appropriate code area could look over them, I'd appreciate it.

Signature · 1 line
Richard