From: Stephen Smalley <sds@tycho.nsa.gov>
To: Ravi Kumar <nxp.ravi@gmail.com>, Selinux@tycho.nsa.gov
Subject: Re: Fwd: Booting time is increased after applying kernel 3.10
Date: Wed, 01 Apr 2015 15:20:01 -0400 [thread overview]
Message-ID: <551C44E1.8090105@tycho.nsa.gov> (raw)
In-Reply-To: <CACikiw1GMK=8TNiwna22J_TC-S9PBVPvTzpNLCxte5nwEjDzoQ@mail.gmail.com>
On 04/01/2015 02:58 PM, Ravi Kumar wrote:
> Hi Team ,
> In reference to old discussion via the mail thread ,
> http://marc.info/?l=selinux&m=140387478632108&q=raw
>
> This is on the context on removing the synchronize_net() from bootup and
> was concluded with optimization on reducing the the number of call to
> synchronize_net() In context to to this what we are seeing is skipping
> the call is saving much time on android bootup and based on the
> discussion at least for android systems it look like we can still
> skip this call as suggest in the initial patch which is much saving on
> the bootup time . But still i dont see any mainline / signed off sort
> of patch for andriod or any one using this . Did we see any issue or
> planned different .
>
> At least on KK the bootup time was under control for L code base we are
> trying to see all the ways of optimization any input are greatly
> appreciated.
commit 615e51fdda6f274e94b1e905fcaf6111e0d9aa20
Author: Paul Moore <pmoore@redhat.com>
Date: Thu Jun 26 14:33:56 2014 -0400
selinux: reduce the number of calls to synchronize_net() when
flushing cache
When flushing the AVC, such as during a policy load, the various
network caches are also flushed, with each making a call to
synchronize_net() which has shown to be expensive in some cases.
This patch consolidates the network cache flushes into a single AVC
callback which only calls synchronize_net() once for each AVC cache
flush.
Reported-by: Jaejyn Shin <flagon22bass@gmail.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
next prev parent reply other threads:[~2015-04-01 19:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-01 18:58 Fwd: Booting time is increased after applying kernel 3.10 Ravi Kumar
2015-04-01 19:20 ` Stephen Smalley [this message]
2015-04-01 19:24 ` Stephen Smalley
[not found] <CAEFn6A4mzF208e1s_OHEzJ-1Kq-DUGgzVNbQXrW6NbB0e8DSpQ@mail.gmail.com>
2014-06-25 19:14 ` Stephen Smalley
2014-06-25 19:29 ` Paul Moore
2014-06-25 19:49 ` Stephen Smalley
2014-06-25 23:19 ` Jaejyn Shin
2014-06-26 13:57 ` Stephen Smalley
2014-06-26 14:17 ` Paul Moore
2014-06-27 12:15 ` Stephen Smalley
2014-06-27 12:52 ` Stephen Smalley
2014-06-27 13:11 ` Paul Moore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=551C44E1.8090105@tycho.nsa.gov \
--to=sds@tycho.nsa.gov \
--cc=Selinux@tycho.nsa.gov \
--cc=nxp.ravi@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.