Question regarding kjournald when entering hibernation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am testing hibernation on a PPC4xx board.
I have noticed that kjournald is still running even when the hibernation
image is being saved to disk.

On looking at the code in fs/jbd/journal.c the kjournald thread
has a check "if(freezing(current))" which i assume is to
check if hibernating and to freeze the kjournald thread.
But since the kjournald thread has the PF_NOFREEZE flag
set it does not freeze the kjournald thread.

1. Can any one tell me in what case the kjournald thread is frozen?
2. Or is there no problem if it is not frozen during hibernation ?
3. Would it be a bad idea to set the kjournald thread freezeable using
"set_freezable()" ?

Thank you,
Mohan
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux