Re: Suspend2 merge preparation: Rationale behind the freezer changes.

From: Bill Davidsen (davidsen_at_tmr.com)
Date: 05/22/04

  • Next message: Kurt Garloff: "[PATCH] Decrease filp size by 8"
    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/
    

  • Next message: Kurt Garloff: "[PATCH] Decrease filp size by 8"

    Relevant Pages

    • Re: Suspend2 merge preparation: Rationale behind the freezer changes.
      ... >> How about recording the order of creation and do it in opposite order? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Willcocks Mass in Time of War
      ... (I won't say for the first time; for all I know, ... Nelson Mass on Decca/Argo). ... Willcocks "Creation" was formerly on HMV ... is, surprisingly, a great recording.) ...
      (rec.music.classical.recordings)
    • Re: I think Albert Silverman is a PLANT
      ... delusional mind actually believes that be recording somebody elses ... it becomes his own creation by some type of strange osmosis that ...
      (rec.music.theory)
    • Re: Willcocks Mass in Time of War
      ... somehow or other), though I almost missed it: ... a superior performance/recording to his better known recording ... Nelson Mass on Decca/Argo). ... How is the Creation it is coupled with? ...
      (rec.music.classical.recordings)
    • SBE recording
      ... Because i want to keep a video file from what is being filmed. ... I have seen today that i can create a recording of what goes inside the ... so i can avoid the infinite pin tee filter and the ... That sounds great as i will avoid the creation ...
      (microsoft.public.win32.programmer.directx.video)