lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 29 Jun 2012 11:42:38 -0400
From:	Steven Rostedt <rostedt@...dmis.org>
To:	LKML <linux-kernel@...r.kernel.org>
Cc:	Kay Sievers <kay@...y.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Ingo Molnar <mingo@...e.hu>,
	Wu Fengguang <fengguang.wu@...el.com>,
	Joe Perches <joe@...ches.com>,
	"Paul E. McKenney" <paulmck@...ibm.com>
Subject: Re: [PATCH] printk: Optimize if statement logic where newline exists

On Fri, 2012-06-29 at 11:40 -0400, Steven Rostedt wrote:
> In reviewing Kay's fix up patch: "printk: Have printk() never buffer its
> data", I found two if statements that could be combined and optimized.
> 
> Put together the two 'cont.len && cont.owner == current' if statements
> into a single one, and check if we need to call cont_add(). This also
> removes the unneeded double cont_flush() calls.
> 
> Link: http://lkml.kernel.org/r/1340869133.876.10.camel@mop
> 
> Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
> ---
> 
> [ This patch is dependent on Kay's patch, referenced at the above Link ]
> 

As the above link seems to time out, here's a more direct one:


http://marc.info/?l=linux-kernel&m=134084777330388

-- Steve

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ