lkml.org 
[lkml]   [2012]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] percpu: use KERN_CONT in pcpu_dump_alloc_info()
From
Hello,

On Thu, Mar 29, 2012 at 1:06 PM, Joe Perches <joe@perches.com> wrote:
> It'd be just for avoidance of any other possible
> interleaving from other threads.
>
> It's an __init function so that's not too likely,
> but if it every happens...

Ah, okay. Forgot about that. Yeah, the kernel is single threaded at
that point, so it shouldn't matter. The code is rather complex so
something simpler would be nice, I agree.

Another thing is that we seem to have structured logging coming our
way and maybe userspace can deal with racing continuing printks? Not
sure how different streams could be distinguished tho. Maybe the
printing task can be used to group them? Kay, is this something
structured logging would solve?

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-03-29 22:13    [W:0.042 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site