Re: -mm swsusp: do not default to platform/firmware

From: Pavel Machek (pavel_at_ucw.cz)
Date: 07/29/04

  • Next message: Andrew Morton: "Re: stat very inefficient"
    Date:	Thu, 29 Jul 2004 09:38:21 +0200
    To: "Li, Shaohua" <shaohua.li@intel.com>
    
    

    Hi!

    > >If the thread is needed for writing the image to storage, you should
    > >instead set the PF_NOFREEZE process flag when creating the thread.
    > >
    > You know for sleep into mem (s3) we also use
    > 'freeze_processes/refrigerator', and the threads don't write image to
    > storage for S3. Should the threads be set the PF_NOFREEZE? Is there any
    > side effect for S3 if the threads are running?

    Threads that are "NOFREEZE" should be carefull not to do anything bad
    to drivers, and if it works as NOFREEZE for swsusp, it will work in
    S3, too. No need to do additional work of freezing based on new state.

                                                                    Pavel

    -- 
    People were complaining that M$ turns users into beta-testers...
    ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
    -
    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: Andrew Morton: "Re: stat very inefficient"

    Relevant Pages

    • Re: Benchmarking objrmap under memory pressure
      ... I see what you mean with mem= being troublesome, I forgot you're numa=y, ... that you should find in arch/i386/kernel/setup.c, that should work w/o ... everything else numa is built on top of that map, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Generalize prio_tree (1/3)
      ... Hmm, GET_INDEX/get_index grows and grows, and also generates a ... And what if we took the hit and moved the key into struct ... half of the key is free (in terms of storage - the key updates ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] small dev_t fix
      ... Will check over time what form my patches got in the current tree. ... storage following; thus, no action was required to go to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: -mm swsusp: do not default to platform/firmware
      ... >To: Pavel Machek ... >If the thread is needed for writing the image to storage, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Patch] Per kthread freezer flags
      ... If a process might be/is needed to get the image to the storage device, ... it should be NOFREEZE. ... USB threads might be NOFREEZE to allow for ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)