From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752644AbcFQXOf (ORCPT ); Fri, 17 Jun 2016 19:14:35 -0400 Received: from terminus.zytor.com ([198.137.202.10]:49836 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750774AbcFQXOe (ORCPT ); Fri, 17 Jun 2016 19:14:34 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <20160617230431.GG14480@ZenIV.linux.org.uk> References: <20160617230431.GG14480@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [off-list] a path toward killing thread_info From: "H. Peter Anvin" Date: Fri, 17 Jun 2016 16:10:59 -0700 To: Al Viro , Andy Lutomirski CC: Kees Cook , Peter Zijlstra , "linux-kernel@vger.kernel.org" , Ingo Molnar Message-ID: <4CCEB83C-FBCF-4095-8770-892387438060@zytor.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On June 17, 2016 4:04:31 PM PDT, Al Viro wrote: >On Fri, Jun 17, 2016 at 03:41:49PM -0700, Andy Lutomirski wrote: > >> PeterZ, I'm thinking of adding task_ti_flags_ptr to directly find the >> ti flags word given a task_struct * so the scheduler can use it. >Does >> that seem reasonable to you? > >What are you trying to do? Merge task_struct and thread_info? Yes. I did a half-finished patchset to do this once, in that I defined accessor functions which used container_of instead of pointers on architectures where this merge was enabled. -- Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.