Linux Power Management development
 help / color / mirror / Atom feed
* Question regarding kjournald when entering hibernation
@ 2011-11-11  8:35 Mohan
  2011-11-11 21:36 ` Nigel Cunningham
  0 siblings, 1 reply; 4+ messages in thread
From: Mohan @ 2011-11-11  8:35 UTC (permalink / raw)
  To: linux-pm

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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Question regarding kjournald when entering hibernation
@ 2011-11-11  8:23 Mohan
  0 siblings, 0 replies; 4+ messages in thread
From: Mohan @ 2011-11-11  8:23 UTC (permalink / raw)
  To: linux-pm

Hi,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-13  9:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11  8:35 Question regarding kjournald when entering hibernation Mohan
2011-11-11 21:36 ` Nigel Cunningham
2011-11-13  9:41   ` Mohan
  -- strict thread matches above, loose matches on Subject: below --
2011-11-11  8:23 Mohan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox