public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] percpu: Implement Preemption checks for __this_cpu operations V4
@ 2013-10-11 17:54 Christoph Lameter
  2013-10-11 18:08 ` David Miller
  0 siblings, 1 reply; 13+ messages in thread
From: Christoph Lameter @ 2013-10-11 17:54 UTC (permalink / raw)
  To: Tejun Heo
  Cc: akpm, Steven Rostedt, linux-kernel, Ingo Molnar, Peter Zijlstra,
	Thomas Gleixner

This patchset introduces preemption checks for __this_cpu operations.

First we add new raw_cpu operations that perform this cpu operations
without preempt checks in the future.

Then those raw_cpu operations are used in a number of locations to avoid
false positives.

The last patch then adds the preemption checks by modifying the
__this_cpu macros in include/linux/percpu.h

V3->v4:
	- Drop CONFIG_DEBUG_THIS_CPU_OPERATIONS
	- Detail operation triggering the log entry.
	- Use quilt 0.60/ [PATCH] prefix.
	- Clean up subject lines.
	- Include raw_cpu_ops conversion/fixes that were tested on
	  a Ubuntu 13.04 desktop.
	- Traces

V2->V3:
	- Subject line in the raw_cpu_ops patch had ; instead of :.
	  Guess I am getting old.
	- Improve descriptions and variable names.
	- Run tests again with kvm to verify that it still works.
		A) No warnings with just the patches applied
		B) Lots of warnings with CONFIG_DEBUG_THIS_CPU_OPERATIONS enabled
		C) No warnings with 3 core patches applied that simply convert
			__this_cpu operations to raw_cpu_ops.

V1->V2:
	- Reuse preemption check logic in lib/smp_processor_id.c
	- Add CONFIG_DEBUG_THIS_CPU_OPERATIONS
	- Remove conversions to the use of raw_cpu_ops since
	  these may require some discussion first.


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH 0/6] percpu: Implement Preemption checks for __this_cpu operations V4
@ 2013-10-11 16:52 Christoph Lameter
  0 siblings, 0 replies; 13+ messages in thread
From: Christoph Lameter @ 2013-10-11 16:52 UTC (permalink / raw)
  To: Tejun Heo
  Cc: akpm, Steven Rostedt, linux-kernel, Ingo Molnar, Peter Zijlstra,
	Thomas Gleixner

This patchset introduces preemption checks for __this_cpu operations.

First we add new raw_cpu operations that perform this cpu operations
without preempt checks in the future.

Then those raw_cpu operations are used in a number of locations to avoid
false positives.

The last patch then adds the preemption checks by modifying the
__this_cpu macros in include/linux/percpu.h

V3->v4:
	- Drop CONFIG_DEBUG_THIS_CPU_OPERATIONS
	- Detail operation triggering the log entry.
	- Use quilt 0.60/ [PATCH] prefix.
	- Clean up subject lines.
	- Include raw_cpu_ops conversion/fixes that were tested on
	  a Ubuntu 13.04 desktop.
	- Traces

V2->V3:
	- Subject line in the raw_cpu_ops patch had ; instead of :.
	  Guess I am getting old.
	- Improve descriptions and variable names.
	- Run tests again with kvm to verify that it still works.
		A) No warnings with just the patches applied
		B) Lots of warnings with CONFIG_DEBUG_THIS_CPU_OPERATIONS enabled
		C) No warnings with 3 core patches applied that simply convert
			__this_cpu operations to raw_cpu_ops.

V1->V2:
	- Reuse preemption check logic in lib/smp_processor_id.c
	- Add CONFIG_DEBUG_THIS_CPU_OPERATIONS
	- Remove conversions to the use of raw_cpu_ops since
	  these may require some discussion first.


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

end of thread, other threads:[~2013-10-16 14:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 17:54 [PATCH 0/6] percpu: Implement Preemption checks for __this_cpu operations V4 Christoph Lameter
2013-10-11 18:08 ` David Miller
2013-10-12 16:51   ` Ingo Molnar
2013-10-14 10:32     ` Peter Zijlstra
2013-10-14 19:02       ` Christoph Lameter
2013-10-15  8:23         ` Peter Zijlstra
2013-10-14 22:24     ` Christoph Lameter
2013-10-15  7:07       ` Ingo Molnar
2013-10-16 10:37       ` Ingo Molnar
2013-10-16 14:32         ` Christoph Lameter
2013-10-14 13:09   ` Steven Rostedt
2013-10-14 19:03     ` Christoph Lameter
  -- strict thread matches above, loose matches on Subject: below --
2013-10-11 16:52 Christoph Lameter

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