mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCHv2 0/2] locking/atomics: fix and improvement
@ 2019-02-11 13:22 Mark Rutland
  2019-02-11 13:22 ` [PATCHv2 1/2] locking/atomics: Change 'fold' to 'grep' Mark Rutland
  2019-02-11 13:22 ` [PATCHv2 2/2] locking/atomics: Check atomic headers with sha1sum Mark Rutland
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Rutland @ 2019-02-11 13:22 UTC (permalink / raw)
  To: linux-kernel, mingo
  Cc: akpm, anders.roxell, boqun.feng, mark.rutland, naresh.kamboju,
	peterz, will.deacon

Hi Ingo,

[Apologies for the duplicate send of this, I typo'd LKML in my initial attempt]

I hope that these atomic scripting patches address your concerns with
the atomics scripting infrastructure. These are based on the tip master
branch, leaving the headers checked-in.

Since v1 [1]:
* rebase (and retest) atop of tip:master
* fold in acks

The primary improvement is using a hash to detect when the headers have
been erroneously modified, meaning check-atomics.sh takes ~0.15s, which
I believe should be palatable.

It also turns out that some people are building without coreutils, so
I've picked up Anders' fix for this. Since sha1sum is part of coreutils,
the checks are skipped when this isn't present, on the assumption that
anyone actually sending patches will have a working coreutils.

Are you happy to pick these up?

Thanks,
Mark.

[1] https://lore.kernel.org/lkml/20181210175035.45096-1-mark.rutland@arm.com/T/#m39ee97e01a02b5d054cca4d028445bb3a9818e91

Anders Roxell (1):
  locking/atomics: Change 'fold' to 'grep'

Mark Rutland (1):
  locking/atomics: Check atomic headers with sha1sum

 include/asm-generic/atomic-instrumented.h |  1 +
 include/asm-generic/atomic-long.h         |  1 +
 include/linux/atomic-fallback.h           |  1 +
 scripts/atomic/atomic-tbl.sh              |  2 +-
 scripts/atomic/check-atomics.sh           | 26 ++++++++++++++++++++------
 scripts/atomic/gen-atomics.sh             | 20 ++++++++++++++++++++
 6 files changed, 44 insertions(+), 7 deletions(-)
 create mode 100755 scripts/atomic/gen-atomics.sh

-- 
2.11.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-11 13:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 13:22 [PATCHv2 0/2] locking/atomics: fix and improvement Mark Rutland
2019-02-11 13:22 ` [PATCHv2 1/2] locking/atomics: Change 'fold' to 'grep' Mark Rutland
2019-02-11 13:22 ` [PATCHv2 2/2] locking/atomics: Check atomic headers with sha1sum Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®