Skip to content

Modules support.

Nigel Cunningham lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 410 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10kernel/power/modules.h+0 -040 replies
2/10Module (de)registration.kernel/power/modules.c+87 -04 replies
3/10Move module to the tail of lists.kernel/power/modules.c+31 -00 replies
4/10Module initialise/cleanup.kernel/power/modules.c+49 -00 replies
5/10Get next module.kernel/power/modules.c+20 -00 replies
6/10Get/put module reference.kernel/power/modules.c+38 -00 replies
7/10Header storage for modules.kernel/power/modules.c+21 -00 replies
8/10Find a module given its namekernel/power/modules.c+20 -00 replies
9/10Append module debug info to a buffer.kernel/power/modules.c+24 -00 replies
10/10Memory needed for modules.kernel/power/modules.c+22 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [ 00/10] [Suspend2] Modules support.

Hi everyone.

This set of patches represents the core of Suspend2's module support.

Suspend2 uses a strong internal API to separate the method of determining the content of the image from the method by which it is saved. The code for determining the content is part of the core of Suspend2, and transformations (compression and/or encryption) and storage of the pages are handled by 'modules'.

The name is currently mostly historical, from the time when these components could be built as kernel modules. That function was dropped to help with merging, but I'd like to reintroduce it later, since some embedded developers want to use Suspend2 to improve boot times. If/when that happens, I'll do it in a way that doesn't require as many exported symbols as was previously required. For now, though, the name remains, along with a few functions that are needed for building as modules. My expectation is that merging will take some time; perhaps by that time, I'll have modular support back in, in a better form.

--
Nigel Cunningham nigel at suspend2 dot net http://suspend2.net