Re: [PATCH 2/4] Task notifier against mm: Implement todo list in task_struct
From: Pavel Machek
Date: Sat Jul 30 2005 - 06:29:22 EST
Hi!
> Introduce a todo notifier in the task_struct so that a task can be told to do
> certain things. Abuse the suspend hooks try_to_freeze, freezing and refrigerator
> to establish checkpoints where the todo list is processed. This will break software
> suspend (next patch fixes and cleans up software suspend).
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 13
EXTRAVERSION =-rc3-mm3
This patch fails:
pavel@amd:/usr/src/linux-mm$ cat /tmp/delme | patch -Esp1
1 out of 3 hunks FAILED -- saving rejects to file include/linux/sched.h.rej
pavel@amd:/usr/src/linux-mm$
No wonder when -mm already contains:
/*
* Check if there is a request to freeze a process
*/
static inline int freezing(struct task_struct *p)
{
return test_ti_thread_flag(p->thread_info, TIF_FREEZE);
}
Pavel
--
teflon -- maybe it is a trademark, but it should not be.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/