Re: Suspend2 merge preparation: Rationale behind the freezer changes.
From: Bill Davidsen (davidsen_at_tmr.com)
Date: 05/22/04
- Previous message: thomas weidner: "nvidia not working on 2.6.6-bk5+ (x86-64) ?"
- In reply to: Nigel Cunningham: "Re: Suspend2 merge preparation: Rationale behind the freezer changes."
- Next in thread: Pavel Machek: "Re: Suspend2 merge preparation: Rationale behind the freezer changes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 22 May 2004 10:11:01 -0400 To: Nigel Cunningham <ncunningham@linuxmail.org>
Nigel Cunningham wrote:
> Hi.
>
> Oliver Neukum wrote:
>
>> Am Freitag, 21. Mai 2004 14:28 schrieb Nigel Cunningham:
>>
>>> Yes, but what order? I played with that problem for ages. Perhaps I
>>> just didn't find the right combination.
>>
>> How about recording the order of creation and do it in opposite order?
>
>
> We could add a field to the process struct to record that. (Since PIDs
> can wrap, they can't be relied upon for this).
I would never suggest keeping a process creation date for something
trivial, but since you seem to be proposing one for something major, the
process creation date could be available in the readdir of the /proc
directory. Assuming you intend to keep date at all and not just some
counter, of course.
--
-bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
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/
- Previous message: thomas weidner: "nvidia not working on 2.6.6-bk5+ (x86-64) ?"
- In reply to: Nigel Cunningham: "Re: Suspend2 merge preparation: Rationale behind the freezer changes."
- Next in thread: Pavel Machek: "Re: Suspend2 merge preparation: Rationale behind the freezer changes."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|