[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5065B909.1060907@cs.tu-berlin.de>
Date: Fri, 28 Sep 2012 16:49:45 +0200
From: "Jan H. Schönherr" <schnhrr@...tu-berlin.de>
To: Kay Sievers <kay@...y.org>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] printk: drop ambiguous LOG_CONT flag
Am 28.09.2012 16:34, schrieb Kay Sievers:
> On Fri, Sep 28, 2012 at 10:25 AM, Jan H. Schönherr
> That fails the racing task test, and a cont user that was nicely
> merged before is now all in separate records.
I guess, I need to extend my test cases. Do you have something
ready that I could use?
> It seems, unconditionally using the cont buffer like in your patch,
> for all incoming messages just makes the entire cont merge buffer
> dance useless when it comes to races.
I see. :(
> The current behaviour has the advantage, that non-cont users will not
> race against a cont user (which is like 99.x% of the races I expect).
> The cont buffer is currently only used when we expect a cont user,
> non-cont users happening in the middle of a cont-print will not flush
> the and disturb the cont buffer.
That should be fixable by using a second set of flags, owner, and so on
within vprintk... I still think, that getting rid of of remotely tracking
the flags is worth something.
(Ideally, we should also be able to correctly reassemble multiple
simultaneous cont users. But that it still a bit out of scope I think.)
Given that I'm able to fix the racing case, would you be in favor of
this approach, or should we stick to the earlier version?
Regards
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists