Messages in this thread | | | Date | Fri, 24 Sep 2004 16:59:27 +0200 | From | Francesco Casadei <> | Subject | task_struct reference counting |
| |
How one is supposed to handle the reference count of a task_struct from a kernel module?
get_task_struct() and put_task_struct() do not work, because the latter can't be used from a module, since it calls __put_task_struct(), which is not EXPORT_SYMBOL()'d.
I'm running 2.6.8.1.
Thanks in advance for your time,
Francesco Casadei - 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/
| |