patchThe GNU Hurd - Patches: patch #1808, Add support for task_basic_info...


You are not allowed to post comments on this tracker with your current authentication level.

patch #1808: Add support for task_basic_info without creation_time

Submitter:  Peter Bruin <pbruin>
Submitted:  Sat 09 Aug 2003 08:20:29 PM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Planned Release:  None
Wiki-like text discussion box: 

Sat 09 Aug 2003 08:55:19 PM UTC, comment #3: 

Ok, I set the status to Postponed.  Please keep us up to date about the progress.

Marcus Brinkmann <marcus>
Project Administrator
Sat 09 Aug 2003 08:46:21 PM UTC, comment #2: 

I already wondered why the OSF Mach developers would have wanted to remove it... 8-)

I'll try to change it in Mach; I wanted to start working on Mach anyway, since it has at least one other annoying bug and the hurdppc project on also needs a version of Mach that runs on newer PPC computers (using OSKit).  It'll probably take some time, however.

Peter Bruin <pbruin>
Sat 09 Aug 2003 08:32:45 PM UTC, comment #1: 


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  <>


        * 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  <>

        * 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  <>


        * 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.

Marcus Brinkmann <marcus>
Project Administrator
Sat 09 Aug 2003 08:20:29 PM UTC, original submission:  

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.

Peter Bruin <pbruin>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #6020:  patch_item_1808.patch added by pbruin (6KiB - text/plain - patch item 1808)


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.




Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-08-09 marcus patch_status_id1
    Closed on- -

Back to the top

Powered by Savane 3.9