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: <20140702101959.GY6758@twins.programming.kicks-ass.net>
Date:	Wed, 2 Jul 2014 12:19:59 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	"Yan, Zheng" <zheng.z.yan@...el.com>
Cc:	linux-kernel@...r.kernel.org, mingo@...nel.org, acme@...radead.org,
	eranian@...gle.com, andi@...stfloor.org
Subject: Re: [PATCH V4 06/16] perf, core: always switch pmu specific data
 during context switch

On Mon, Jun 30, 2014 at 04:50:43PM +0800, Yan, Zheng wrote:
> @@ -2347,6 +2348,11 @@ static void perf_event_context_sched_out(struct task_struct *task, int ctxn,
>  			next->perf_event_ctxp[ctxn] = ctx;
>  			ctx->task = next;
>  			next_ctx->task = task;
> +
> +			ctx_data = next_ctx->task_ctx_data;
> +			next_ctx->task_ctx_data = ctx->task_ctx_data;
> +			ctx->task_ctx_data = ctx_data;
> +

		swap(ctx->task_ctx_data, next_ctx->task_ctx_data);

?

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ