[CRIU] [PATCH 0/5] log code update

Andrew Vagin avagin at parallels.com
Sat Jan 12 14:54:21 EST 2013


On Sat, Jan 12, 2013 at 11:37:11PM +0400, Cyrill Gorcunov wrote:
> On Sat, Jan 12, 2013 at 11:29:22PM +0400, Andrew Vagin wrote:
> > > > 
> > > > Where may we need to use pr_err without \n?
> > > 
> > > Adding implicit \n means you can't print continuations. Actually with
> > > timestapm concept introduced this ability has been a bit ruined (which I
> > > still have plans to fix one day). But anyway, what we need is to be able
> > > to produce correct continuations like
> > > 
> > > 	pr_info("Dumping something... ");
> > > 	... some code here ...
> > 
> > In this moment another thread prints a message...
> > How are you going to synchronise processes?
> 
> As usual -- with mutex.
And all other processes will wait while code is executing? Looks like a
big kernel (log) lock...

Do you have a concrete example for this?
> 
> 	Cyrill


More information about the CRIU mailing list