Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1403243

Re: [PATCH v2 07/32] perf/x86/intel/cqm: add helpers for per-package locking

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 07/32] perf/x86/intel/cqm: add helpers for per-package locking
Date 2016-05-18 21:20 +0200
Message-ID <rAfaG-6av-21@gated-at.bofh.it> (permalink)
References <rxLqq-1mv-9@gated-at.bofh.it> <rxLA5-1qt-1@gated-at.bofh.it> <rAdBT-584-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 18 May 2016, Thomas Gleixner wrote:
> On Wed, 11 May 2016, David Carrillo-Cisneros wrote:

> > +	cqm_pkg_id_for_each_online(i)
> > +		mutex_lock_nested(&cqm_pkgs_data[i]->pkg_data_mutex, i);

Peter just pointed out that this will fail when the number of nest levels
exceeds 8. So any system with more than 8 packages will make lockdep explode.

Thanks,

	tglx

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 07/32] perf/x86/intel/cqm: add helpers for per-package  locking Thomas Gleixner <tglx@linutronix.de> - 2016-05-18 19:40 +0200
  Re: [PATCH v2 07/32] perf/x86/intel/cqm: add helpers for per-package  locking Thomas Gleixner <tglx@linutronix.de> - 2016-05-18 21:20 +0200

csiph-web