Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758822AbZFBD7w (ORCPT ); Mon, 1 Jun 2009 23:59:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756798AbZFBD7l (ORCPT ); Mon, 1 Jun 2009 23:59:41 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:59749 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752933AbZFBD7k (ORCPT ); Mon, 1 Jun 2009 23:59:40 -0400 Date: Mon, 1 Jun 2009 23:05:38 -0500 From: "Serge E. Hallyn" To: Tetsuo Handa Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] Move sleeping operations to outside the semaphore. Message-ID: <20090602040538.GA21698@hallyn.com> References: <200906020141.n521faqb003256@www262.sakura.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906020141.n521faqb003256@www262.sakura.ne.jp> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 27 Quoting Tetsuo Handa (penguin-kernel@i-love.sakura.ne.jp): > TOMOYO is using rw_semaphore for protecting list elements. > But TOMOYO is doing operations which might sleep inside down_write(). > This patch makes TOMOYO's sleeping operations go outside down_write(). Hi Tetsuo, another thing making these patches hard for me to review is the lack of documentation to start with. There are lists of policy managers, domain initializers, etc, and I don't know what they are. Could you flesh out Documentation/tomoyo.txt and/or the variable, struct, and function definitions under security/tomoyo/ with some explanations? (A fn comment like * tomoyo_update_manager_entry - Add a manager entry. is not helpful) That should help me sound less ignorant in the future... thanks, -serge -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/