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


Groups > linux.kernel > #1178319

Re: [v2] powerpc/powernv: Fix race in updating core_idle_state

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [v2] powerpc/powernv: Fix race in updating core_idle_state
Date Tue, 07 Jul 2015 12:40:02 +0200
Message-ID <pJysa-4vc-7@gated-at.bofh.it> (permalink)
References <pJkSd-4rZ-9@gated-at.bofh.it>
X-Original-To "Shreyas B. Prabhu" <shreyas@linux.vnet.ibm.com>, Paul Mackerras <paulus@samba.org>
X-Powerpc-Patch-Notification thanks
X-Powerpc-Patch-Commit b32aadc1a8ed84afbe924cd2ced31cd6a2e67074
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 19
Organization linux.* mail to news gateway
X-Original-Cc linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, "Shreyas B. Prabhu" <shreyas@linux.vnet.ibm.com>
X-Original-Date Tue, 7 Jul 2015 20:38:05 +1000 (AEST)
X-Original-Message-ID <20150707103805.428031402C3@ozlabs.org>
X-Original-References <1436213363-18419-1-git-send-email-shreyas@linux.vnet.ibm.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1178319

Show key headers only | View raw


On Mon, 2015-06-07 at 20:09:23 UTC, "Shreyas B. Prabhu" wrote:
> core_idle_state is maintained for each core. It uses 0-7 bits to track
> whether a thread in the core has entered fastsleep or winkle. 8th bit is
> used as a lock bit.
...
> Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com>
> Fixes: 7b54e9f213f76 'powernv/powerpc: Add winkle support for offline
> cpus'

Applied to powerpc fixes, thanks.

https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/commit/?h=fixes&id=b32aadc1a8ed84afbe924cd2ced31cd6a2e67074

cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [v2] powerpc/powernv: Fix race in updating core_idle_state Michael Ellerman <mpe@ellerman.id.au> - 2015-07-07 12:40 +0200

csiph-web