lkml.org 
[lkml]   [2005]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] Task notifier against mm: Implement todo list in task_struct
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-30 13:31    [W:0.201 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site