[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #1808] [Patch #1808] Add support for task_basic_info without crea
From: |
noreply |
Subject: |
[patch #1808] [Patch #1808] Add support for task_basic_info without creation_time |
Date: |
Sat, 09 Aug 2003 16:32:45 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686) Gecko/20030714 Galeon/1.3.5 Debian/1.3.5.20030714-2 |
Patch #1808 has been updated.
Project:
Category: None
Status: Open
Summary: Add support for task_basic_info without creation_time
Follow-Ups:
Date: Sat 08/09/2003 at 22:26
By: pbruin
Comment:
This patch adds support for OSF Mach, which doesn't have creation_time in
`struct task_basic_info', by adding a member creation_time to `struct
procinfo'. It is initialized by proc when a `struct proc' for the task is
allocated and kept in this `struct proc'.
A configure function is still needed to detect if this should be enabled.
-------------------------------------------------------
Date: Sat 08/09/2003 at 22:32
By: marcus
Comment:
Hi,
the creation time was an invention of us, and he put it into GNU Mach 1999.
This seemed to be an easy change. Instead changing the Hurd to allow for the
lack of it, can't you backport our change to OSF Mach? Here are the relevant
changelog entries from GNU Mach:
1999-05-29 Roland McGrath <roland@baalperazim.frob.com>
* kern/startup.c (start_kernel_threads): Call record_time_stamp to
reset the kernel task's creation_time field, so it's not zero.
1999-05-23 Roland McGrath <roland@baalperazim.frob.com>
* kern/task.c (task_info): Allow count for TASK_BASIC_INFO to be less
two words, not just one. The new member creation_time is two words.
Wed Aug 20 16:05:19 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/thread.h (struct thread): New member `creation_time'.
* include/mach/thread_info.h: New member `creation_time'.
* kern/thread.c (thread_create): Set creation time stamp.
(thread_info) [THREAD_BASIC_INFO]: Fill in new creation time
field. Carefully preserve compatibility with old callers.
* kern/task.h (struct task): New member `creation_time'.
* include/mach/task_info.h: New member `creation_time'.
* kern/task.c (task_create): Set creation time stamp.
(task_info) [TASK_BASIC_INFO]: Fill in new creation time field.
Carefully preserve compatibility with old callers.
* kern/mach_clock.c (record_time_stamp): New function.
* kern/time_out.h (record_time_stamp): Add prototype.
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://savannah.gnu.org/patch/?func=detailpatch&patch_id=1808&group_id=30
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/