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

Cyrill Gorcunov gorcunov at openvz.org
Sat Jan 12 14:37:11 EST 2013


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.

	Cyrill


More information about the CRIU mailing list