From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753422Ab2FXQ4p (ORCPT ); Sun, 24 Jun 2012 12:56:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17162 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751838Ab2FXQ4n (ORCPT ); Sun, 24 Jun 2012 12:56:43 -0400 Date: Sun, 24 Jun 2012 18:54:33 +0200 From: Oleg Nesterov To: Al Viro Cc: Mimi Zohar , Linus Torvalds , ". James Morris" , linux-security-module@vger.kernel.org, linux-kernel Subject: Re: deferring __fput() Message-ID: <20120624165433.GA1211@redhat.com> References: <1340369098.2464.20.camel@falcor> <20120623092049.GH14083@ZenIV.linux.org.uk> <20120623194505.GI14083@ZenIV.linux.org.uk> <20120623203800.GA10306@redhat.com> <20120623210141.GK14083@ZenIV.linux.org.uk> <20120624041652.GN14083@ZenIV.linux.org.uk> <20120624100908.GR14083@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120624100908.GR14083@ZenIV.linux.org.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/24, Al Viro wrote: > > in vfs.git#untested. include/linux/types.h: #define rcu_head callback_head OK, now I understand why did you want task_work/rcu identical. So, you are not going to add a rcu/task_work union in (say) struct cred, task_work_add() should "silently" reuse cred->rcu. OK, perhaps this makes more sense... Oleg.