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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100316082507.GG18448@elte.hu>
Date:	Tue, 16 Mar 2010 09:25:07 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Pekka Enberg <penberg@...helsinki.fi>
Cc:	Alexey Dobriyan <adobriyan@...il.com>, Tejun Heo <tj@...nel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	lkml <linux-kernel@...r.kernel.org>,
	Lee Schermerhorn <Lee.Schermerhorn@...com>,
	Christoph Lameter <cl@...ux-foundation.org>
Subject: Re: [RFC] remove implicit slab.h inclusion from percpu.h


* Pekka Enberg <penberg@...helsinki.fi> wrote:

> Alexey Dobriyan kirjoitti:
> >On Tue, Mar 16, 2010 at 8:58 AM, Pekka Enberg <penberg@...helsinki.fi> wrote:
> >> We should avoid creating tree-wide breakage for this kind of cleanups.
> >
> > This is done by compile testing, not by being smartass.
> 
> I don't think compile testing is going to scale here because slab is used is 
> so many places of the kernel.

Yes. In large-scale conversions i typically used (rather extensive) 
build-testing as a tool to check a script's correctness - distinctly _not_ to 
create the actual patch itself.

I.e. it's an adaptive feedback loop in essence: the script gets perfected by 
repeated build tests, and the end result is that we have a scripted conversion 
that covers more code than build testing is able to reach (it covers not just 
x86, covers rare config combos, etc.), _plus_ we also have the final proof of 
the pudding via the actual build tests.

In the end it all converges nicely and the build breakage exported is minimal.

That is the mechanism i suggested. Alexey calls it 'smartass', i call it a 
defensive approach to large-scale changes, that we should practice more, not 
less.

[ Or, sometimes, for visibly trivial matters i just take the gamble, go into 
  cowboy mode and say 'to the heck, let others find those bugs' and do a 
  change based on a sed -i oneliner and build a few configs, fix up the 
  breakages it finds and hope for the best. I dont complain when i get slapped 
  for that though ;-) ]

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