From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754806AbdERGWS (ORCPT ); Thu, 18 May 2017 02:22:18 -0400 Received: from LGEAMRELO12.lge.com ([156.147.23.52]:38053 "EHLO lgeamrelo12.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753896AbdERGWR (ORCPT ); Thu, 18 May 2017 02:22:17 -0400 X-Original-SENDERIP: 156.147.1.151 X-Original-MAILFROM: byungchul.park@lge.com X-Original-SENDERIP: 165.244.98.150 X-Original-MAILFROM: byungchul.park@lge.com X-Original-SENDERIP: 10.177.222.33 X-Original-MAILFROM: byungchul.park@lge.com Date: Thu, 18 May 2017 15:22:05 +0900 From: Byungchul Park To: Peter Zijlstra CC: , , , , , , , , , , , Subject: Re: [PATCH v6 05/15] lockdep: Implement crossrelease feature Message-ID: <20170518062205.GF28017@X58A-UD3R> References: <1489479542-27030-1-git-send-email-byungchul.park@lge.com> <1489479542-27030-6-git-send-email-byungchul.park@lge.com> <20170419142503.rqsrgjlc7ump7ijb@hirez.programming.kicks-ass.net> <20170424051102.GJ21430@X58A-UD3R> <20170424101747.iirvjjoq66x25w7n@hirez.programming.kicks-ass.net> <20170425054044.GK21430@X58A-UD3R> <20170516141846.GM4626@worktop.programming.kicks-ass.net> MIME-Version: 1.0 In-Reply-To: <20170516141846.GM4626@worktop.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-MIMETrack: Itemize by SMTP Server on LGEKRMHUB07/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2017/05/18 15:22:13, Serialize by Router on LGEKRMHUB07/LGE/LG Group(Release 8.5.3FP6|November 21, 2013) at 2017/05/18 15:22:13, Serialize complete at 2017/05/18 15:22:13 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 16, 2017 at 04:18:46PM +0200, Peter Zijlstra wrote: > On Tue, Apr 25, 2017 at 02:40:44PM +0900, Byungchul Park wrote: > > On Mon, Apr 24, 2017 at 12:17:47PM +0200, Peter Zijlstra wrote: > > > > My complaint is mostly about naming.. and "hist_gen_id" might be a > > > better name. > > > > Ah, I also think the name, 'work_id', is not good... and frankly I am > > not sure if 'hist_gen_id' is good, either. What about to apply 'rollback', > > which I did for locks in irq, into works of workqueues? If you say yes, > > I will try to do it. > > If the rollback thing works, that's fine too. If it gets ugly, stick > with something like 'hist_id'. I really want to implement it with rollback.. But it also needs to introduce new fields to distinguish between works which are all normal process contexts. I will do this with renaming instead of applying rollback. Thank you.