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 authentification level.

patch #1808: Add support for task_basic_info without creation_time

Submitted by:  Peter Bruin <pbruin>
Submitted on:  Sat 09 Aug 2003 08:20:29 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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 savannah.nongnu.org 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:

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.

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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 09 Aug 2003 08:55:19 PM UTCmarcuspatch_status_id1=>
  Closed on-=>-

Back to the top


Powered by Savane 3.1-cleanup