From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 19 Feb 2019 16:10:47 -0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1gw7yn-0001PA-Sq for speck@linutronix.de; Tue, 19 Feb 2019 17:10:46 +0100 Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gw7ym-0004p5-KK for speck@linutronix.de; Tue, 19 Feb 2019 16:10:44 +0000 Date: Tue, 19 Feb 2019 17:10:43 +0100 From: Peter Zijlstra Subject: [MODERATED] Re: [PATCH 4/4] walnut 4 Message-ID: <20190219161043.GA32494@hirez.programming.kicks-ass.net> References: <20190219155807.878855982@infradead.org> <20190219155859.834625575@infradead.org> MIME-Version: 1.0 In-Reply-To: <20190219155859.834625575@infradead.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Tue, Feb 19, 2019 at 04:58:11PM +0100, speck for Peter Zijlstra wrote: > + if (!allow_tsx_force_abort && test_bit(3, c->idxmsk)) { > + c = dyn_constraint(cpuc, c, idx); > + c->idxmsk64 &= ~(1ULL << 3); > + c->weight = c->idxmsk64 - 1; Damn; that should be: c->weight--;