lkml.org 
[lkml]   [1999]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectset_current_state patch?

I'm doing some experimental work on the kernel for which I'd like to
make use of the set_current_state macro. That is, I'd like to
redefine it as something else which does other stuff. To be able to
do this, I'd need to go through the kernel source and replace
everything of the form "current->state=TASK_#####" with
"set_current_state(TASK_####)" (similarly for set_task_state).
I'd be willing to create such a patch if there's interest in such
changes. Such a set of changes IMO would be the right thing to do,
though it could conceivably generate the mother of all patches.

I'm trying to avoid making the replacements myself and then seeing a
huge patch blow up on me as I try to update my source tree with an
official patch that includes these changes.

Michal Ostrowski
mostrows@styx.uwaterloo.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2011 Jasper Spaans