Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1037859AbdDUKRS (ORCPT ); Fri, 21 Apr 2017 06:17:18 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:44035 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1037788AbdDUKRQ (ORCPT ); Fri, 21 Apr 2017 06:17:16 -0400 Date: Fri, 21 Apr 2017 12:17:05 +0200 From: Peter Zijlstra To: Juri Lelli Cc: luca abeni , linux-kernel@vger.kernel.org, Ingo Molnar , Claudio Scordino , Steven Rostedt , Tommaso Cucinotta , Daniel Bristot de Oliveira , Mathieu Poirier Subject: Re: [PATCH] sched/deadline: fix switching to -deadline Message-ID: <20170421101705.a34gmcbp727o7hgl@hirez.programming.kicks-ass.net> References: <1492716656-5362-1-git-send-email-luca.abeni@santannapisa.it> <20170421093926.GQ23862@e106622-lin> <20170421114240.0ef43522@nowhere> <20170421094729.GR23862@e106622-lin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170421094729.GR23862@e106622-lin> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 260 Lines: 8 On Fri, Apr 21, 2017 at 10:47:29AM +0100, Juri Lelli wrote: > Oh, I think it works "by coincidence", as ENQUEUE_RESTORE == DEQUEUE_SAVE > == 0x02 ? :) That's very much on purpose, also see: #define DEQUEUE_SAVE 0x02 /* matches ENQUEUE_RESTORE */