From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756875Ab2DSWvt (ORCPT ); Thu, 19 Apr 2012 18:51:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32804 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753366Ab2DSWvq (ORCPT ); Thu, 19 Apr 2012 18:51:46 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20120419194734.GA16740@redhat.com> References: <20120419194734.GA16740@redhat.com> <20120419173431.GA27066@redhat.com> <20120417193409.GA20312@redhat.com> <20120414021252.GC23393@redhat.com> <20120414021201.GA23385@redhat.com> <27037.1334672580@redhat.com> <20120417163606.GC14527@redhat.com> <23383.1334854333@redhat.com> <25695.1334858133@redhat.com> <20120419181010.GA29793@redhat.com> <27773.1334864058@redhat.com> To: Oleg Nesterov Cc: dhowells@redhat.com, Andrew Morton , Linus Torvalds , Thomas Gleixner , Alexander Gordeev , Chris Zankel , David Smith , "Frank Ch. Eigler" , Geert Uytterhoeven , Larry Woodman , Peter Zijlstra , Tejun Heo , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 3/3] cred: change keyctl_session_to_parent() to use task_work_add() Date: Thu, 19 Apr 2012 23:26:54 +0100 Message-ID: <31674.1334874414@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Oleg Nesterov wrote: > On 04/19, David Howells wrote: > > > > Oleg Nesterov wrote: > > > > > I am not going to argue, but honestly I don't think it is a good > > > idea to mix the functional changes in keyctl.c and the simple > > > (but obviously untested) cleanups. > > > > I meant add the cleanup as patch 4. That way they are still separate. I'll > > let you change the name of the function to make it easier;-) > > OK. > > I'd like to avoid the unnecessary resends, lets discuss this before > I send the patch(es). > > At least I'd like to split this into 2 patches: > > 4/3: only removes the dead code from arch/* > > 5/3: updates copy_creds/exit_creds and kills > ->replacement_session_keyring, plus renames > key_change_ back to key_replace_ > > Do you agree? Well, don't bother renaming the function back, but apart from that, okay. David