From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <50EDD041.70505@redhat.com> Date: Wed, 09 Jan 2013 21:17:05 +0100 From: Ondrej Oprala MIME-Version: 1.0 To: Eric Paris CC: Stephen Smalley , SE-Linux Subject: Re: setfscreatecon optimizations References: <50EC1D32.3090607@redhat.com> <50EC31AE.5040807@tycho.nsa.gov> <50ED5C8E.4040202@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Fantastic :) thank you very much. On 01/09/2013 03:51 PM, Eric Paris wrote: > Something like the attached? > > On Wed, Jan 9, 2013 at 9:30 AM, Eric Paris wrote: >> On Wed, Jan 9, 2013 at 7:03 AM, Ondrej Oprala wrote: >>> Thank you for the pointers, it helped me out a lot. I tested the patched >>> libselinux with >>> $cp -a dir1 dir2 >>> and got an approx. 20% save in instruction count. The patch is attached. >>> Thanks, >> Thanks! I'm working on it right now. You did the: >> __selinux_once(once, init_procattr); >> init_thread_destructor(); >> Before variable declaration and you do not handle context==NULL, which >> is how you clear the value. I'll fix both of those up and apply to >> the devel tree. Thanks so much! -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.