Revision aa9a7b11821e883a7b93ecce190881e0ea48648b authored by Srivatsa S. Bhat on 18 November 2011, 22:02:42 UTC, committed by Rafael J. Wysocki on 18 November 2011, 22:02:42 UTC
Commit 2aede851ddf08666f68ffc17be446420e9d2a056
(PM / Hibernate: Freeze kernel threads after preallocating memory)
postponed the freezing of kernel threads to after preallocating memory
for hibernation. But while doing that, the hibernation test TEST_FREEZER
and the test mode HIBERNATION_TESTPROC were not moved accordingly.

As a result, when using these test modes, it only goes upto the freezing of
userspace and exits, when in fact it should go till the complete end of task
freezing stage, namely the freezing of kernel threads as well.

So, move these points of exit to appropriate places so that freezing of
kernel threads is also tested while using these test harnesses.

Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
1 parent 88995e8
History
File Mode Size
Kconfig -rw-r--r-- 12.3 KB
Kconfig.debug -rw-r--r-- 908 bytes
Makefile -rw-r--r-- 1.8 KB
backing-dev.c -rw-r--r-- 22.0 KB
bootmem.c -rw-r--r-- 20.8 KB
bounce.c -rw-r--r-- 6.5 KB
cleancache.c -rw-r--r-- 6.9 KB
compaction.c -rw-r--r-- 19.8 KB
debug-pagealloc.c -rw-r--r-- 2.1 KB
dmapool.c -rw-r--r-- 13.0 KB
fadvise.c -rw-r--r-- 3.5 KB
failslab.c -rw-r--r-- 1.3 KB
filemap.c -rw-r--r-- 69.9 KB
filemap_xip.c -rw-r--r-- 11.0 KB
fremap.c -rw-r--r-- 6.7 KB
highmem.c -rw-r--r-- 10.3 KB
huge_memory.c -rw-r--r-- 63.3 KB
hugetlb.c -rw-r--r-- 76.3 KB
hwpoison-inject.c -rw-r--r-- 3.3 KB
init-mm.c -rw-r--r-- 619 bytes
internal.h -rw-r--r-- 8.6 KB
kmemcheck.c -rw-r--r-- 2.8 KB
kmemleak-test.c -rw-r--r-- 3.3 KB
kmemleak.c -rw-r--r-- 49.7 KB
ksm.c -rw-r--r-- 54.7 KB
maccess.c -rw-r--r-- 1.6 KB
madvise.c -rw-r--r-- 11.5 KB
memblock.c -rw-r--r-- 22.8 KB
memcontrol.c -rw-r--r-- 142.4 KB
memory-failure.c -rw-r--r-- 41.7 KB
memory.c -rw-r--r-- 107.2 KB
memory_hotplug.c -rw-r--r-- 23.9 KB
mempolicy.c -rw-r--r-- 64.3 KB
mempool.c -rw-r--r-- 8.9 KB
migrate.c -rw-r--r-- 31.8 KB
mincore.c -rw-r--r-- 7.8 KB
mlock.c -rw-r--r-- 15.7 KB
mm_init.c -rw-r--r-- 3.7 KB
mmap.c -rw-r--r-- 69.3 KB
mmu_context.c -rw-r--r-- 1.4 KB
mmu_notifier.c -rw-r--r-- 9.1 KB
mmzone.c -rw-r--r-- 1.7 KB
mprotect.c -rw-r--r-- 7.9 KB
mremap.c -rw-r--r-- 13.7 KB
msync.c -rw-r--r-- 2.4 KB
nobootmem.c -rw-r--r-- 10.5 KB
nommu.c -rw-r--r-- 50.7 KB
oom_kill.c -rw-r--r-- 22.0 KB
page-writeback.c -rw-r--r-- 58.9 KB
page_alloc.c -rw-r--r-- 159.5 KB
page_cgroup.c -rw-r--r-- 12.9 KB
page_io.c -rw-r--r-- 3.2 KB
page_isolation.c -rw-r--r-- 3.6 KB
pagewalk.c -rw-r--r-- 5.7 KB
percpu-km.c -rw-r--r-- 2.8 KB
percpu-vm.c -rw-r--r-- 13.0 KB
percpu.c -rw-r--r-- 55.5 KB
pgtable-generic.c -rw-r--r-- 3.3 KB
prio_tree.c -rw-r--r-- 6.3 KB
process_vm_access.c -rw-r--r-- 13.3 KB
quicklist.c -rw-r--r-- 2.4 KB
readahead.c -rw-r--r-- 15.1 KB
rmap.c -rw-r--r-- 50.1 KB
shmem.c -rw-r--r-- 63.8 KB
slab.c -rw-r--r-- 118.8 KB
slob.c -rw-r--r-- 17.1 KB
slub.c -rw-r--r-- 127.5 KB
sparse-vmemmap.c -rw-r--r-- 5.9 KB
sparse.c -rw-r--r-- 20.5 KB
swap.c -rw-r--r-- 20.6 KB
swap_state.c -rw-r--r-- 10.4 KB
swapfile.c -rw-r--r-- 65.4 KB
thrash.c -rw-r--r-- 3.9 KB
truncate.c -rw-r--r-- 17.9 KB
util.c -rw-r--r-- 7.3 KB
vmalloc.c -rw-r--r-- 65.2 KB
vmscan.c -rw-r--r-- 98.3 KB
vmstat.c -rw-r--r-- 33.2 KB

back to top