The patch titled swap prefetch: avoid repeating entry has been added to the -mm tree. Its filename is swap-prefetch-avoid-repeating-entry.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: swap prefetch: avoid repeating entry From: Con Kolivas <kernel@xxxxxxxxxxx> Avoid entering trickle_swap() when first initialising kprefetchd to prevent endless loops. Signed-off-by: Con Kolivas <kernel@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/swap_prefetch.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN mm/swap_prefetch.c~swap-prefetch-avoid-repeating-entry mm/swap_prefetch.c --- a/mm/swap_prefetch.c~swap-prefetch-avoid-repeating-entry +++ a/mm/swap_prefetch.c @@ -515,6 +515,10 @@ static int kprefetchd(void *__unused) /* Set ioprio to lowest if supported by i/o scheduler */ sys_ioprio_set(IOPRIO_WHO_PROCESS, 0, IOPRIO_CLASS_IDLE); + /* kprefetchd has nothing to do until it is woken up the first time */ + set_current_state(TASK_INTERRUPTIBLE); + schedule(); + do { try_to_freeze(); _ Patches currently in -mm which might be from kernel@xxxxxxxxxxx are origin.patch sched-fix-idle-load-balancing-in-softirqd-context-fix.patch sched-add-above-background-load-function.patch mm-implement-swap-prefetching.patch swap-prefetch-avoid-repeating-entry.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html