Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1082721pxf; Fri, 2 Apr 2021 00:15:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycR1oTkH3cv8NLoA/JsMjNVHolF2jAfZjCe4UMRtLXxHv/9R0j3GOrD8OUkw3CAbqiSMFK X-Received: by 2002:a05:6e02:1522:: with SMTP id i2mr10026650ilu.252.1617347747912; Fri, 02 Apr 2021 00:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617347747; cv=none; d=google.com; s=arc-20160816; b=1CbVn1Ihv6G/h7iPHnNy9Ru/B/NcfnK5l9nm62NjEBdZueOxlvHN73fOZy7OJvKo+u 9NRfStjsIW/KH+REHMIN3a9CjWgKABBEPQbnwpveckJIIHmxCthZN7sbANehtuCodmKB sBzGvON5XJ6XE+wJd/TBhIDgBXIduRN6iK3dcV+QGBi01cd7k6t9rNgm5f6G0mpu4sHX XxoZzPg0VbCSqcfoYepWk4AWl+Hr30AztQCEWHV0LJCsPh32w5WwPf0+Ti1bbf5Dle6g 2pU9zjFqxKeCG+MiZw9/XWMAYG5u4qOfzArJZejy9tG2di42MjFv2w+K+Rzw3m1KqVW/ Ok8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GMUeC6Yjmhg5mc50fJijq6amkmPkeHC8IG7waCTSkRY=; b=lTCQt52PKDsXjQqw2HOcBrBx7A6M3wUtKFwivdqDZ00zNrl6R0BHIjGvPmkSB4Dj2l 6OYTM4VQg6V62obbCzhyNA0HVqFS3yUphxMXFwKXD7DCSseEE3JmhLr/dNeEBPFrpm6D 1dzBcy0KjwJL9UxiTeL5NGhAEqvWUP3s3pwNm5GEWY+lE3qO8QpMVGE3OcZIYATOR43H JaBHQEZwq7+fw10+/6i8w5LwNJdfZMC1zJhC4p2dtPWxA/mlni/eFEeodor4A7ObmeRJ CKdFeS0qiNwgR01h+x0JIUYSRyx08zd+XfRhPr97H78GlZK2no9UKuQY7FTwLOk5+y5n YCxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vTKUD4VK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si7370303jav.63.2021.04.02.00.15.33; Fri, 02 Apr 2021 00:15:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vTKUD4VK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233996AbhDBHNy (ORCPT + 99 others); Fri, 2 Apr 2021 03:13:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229594AbhDBHNy (ORCPT ); Fri, 2 Apr 2021 03:13:54 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A33BC0613E6 for ; Fri, 2 Apr 2021 00:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GMUeC6Yjmhg5mc50fJijq6amkmPkeHC8IG7waCTSkRY=; b=vTKUD4VKmNB8R6iPR8VAQ7Knm6 VBnFbH5/bzlJi3qAGDErh2CKrF6LKvRRUgSY2WqHIvYUu4DsMUxw8/PYQDVTsLWQmdLcHg0R8yAD8 hjysrpAx8pH9Bwue0VgPbESXSng0lcQhVGoMhGi6RI3w5rlcL9UliuQmsqYBp5UTM+V+Y51MvktNa PuQb3lQfw/5O5rsmbYHhdPAlO/ZoG0eTAv0SVzFZ9ej8C2Eciua5bTBmw8xFsBwK5vbSGueCGJfVG ozuSfNJPFoCMBzSGniKXApipCWZUlXTBPpoQQKqq7hV6yGW60a0jvSTzQs4yqoW1qDkWsEaMsMUb+ hrjH2snw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lSDzQ-007KC7-C8; Fri, 02 Apr 2021 07:13:23 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 0EB0F9864CC; Fri, 2 Apr 2021 09:13:07 +0200 (CEST) Date: Fri, 2 Apr 2021 09:13:07 +0200 From: Peter Zijlstra To: Josh Don Cc: Joel Fernandes , "Hyser,Chris" , Ingo Molnar , Vincent Guittot , Valentin Schneider , Mel Gorman , linux-kernel , Tejun Heo , Thomas Gleixner Subject: Re: [PATCH 3/9] sched: Trivial core scheduling cookie management Message-ID: <20210402071307.GS4746@worktop.programming.kicks-ass.net> References: <20210401131012.395311786@infradead.org> <20210401133917.231259659@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 01, 2021 at 01:04:58PM -0700, Josh Don wrote: > > +/* > > + * sched_core_update_cookie - Common helper to update a task's core cookie. This > > + * updates the selected cookie field. > > + * @p: The task whose cookie should be updated. > > + * @cookie: The new cookie. > > + * @cookie_type: The cookie field to which the cookie corresponds. > > No cookie_type in this patch (or cookie fields). Also might want to > call out that the caller is responsible for put'ing the return value. Lol, I don't think I've even seen the comment. Yes that needs more than a rewording.