From: "Tobin C. Harding" <me@tobin.cc>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [GIT PULL] leaking_addresses.pl changes for 4.16-rc1
Date: Sat, 3 Feb 2018 07:13:41 +1100 [thread overview]
Message-ID: <20180202201341.GI29988@eros> (raw)
In-Reply-To: <20180202094810.GG29988@eros>
On Fri, Feb 02, 2018 at 08:48:10PM +1100, Tobin C. Harding wrote:
> On Thu, Feb 01, 2018 at 02:43:28PM -0800, Linus Torvalds wrote:
> > On Thu, Feb 1, 2018 at 12:45 PM, Tobin C. Harding <me@tobin.cc> wrote:
> > >
> > > It has just come to my attention that I should have pushed these changes
> > > to Linux next before requesting you to pull them. Please feel free to
> > > drop this request, I can try again next merge window after going through
> > > linux next.
> >
> > For something like this, I don't think it's a big deal.
> >
> > A bigger deal is that it now wants perl-bigint, as of commit
> > 8d8a77fb99bd ("leaking_addresses: add range check for vsyscall
> > memory").
> >
> > And that is not apparently a common enough perl module to be installed
> > by default.
> >
> > Sure, I just ran
> >
> > dnf install 'perl(bigint)'
> >
> > and it did the right thing, but it does seem to be something of an
> > inconvenience.
>
> ok I'll try and find a work around so as not to use that.
>
> > And things are *slow*, to the point of breakage. I get
> >
> > timed out parsing: /proc/kallsyms
> > timed out parsing: /proc/2177/smaps
> > timed out parsing: /proc/2238/smaps
> > timed out parsing: /proc/2336/smaps
> > ...
>
> TL;DR it's working just not behaving very well.
>
> I knew that was an issue, I've been running tests with 'smaps' included
> in the skip files array. However the patch I submitted to add this
> included skipping /proc/kallsysms. This got nacked. I could not come
> up with a _good_ solution before doing the pull request and thought it
> better to have the 32-bit stuff in in light of all the drama this last
> month. The problem is that timeouts were added to catch binary files
> choking the script but the default is too slow for large ASCII files.
> Also we don't have a way to say 'scan this file once but not in every
> processes sub directory' i.e smaps. I needed feedback on this since I'm
> not totally sure that all smaps files are generated the same. Also I
> think there may be a better way to not pass binary files than using the
> timeout.
oops, the timeout was to catch files that block on read (like /proc/kmsg).
So, adding 'smaps' to @skip_parse_files_any makes it run but I am unsure
if this is correct. I am under the impression that there will be
various files that need skipping once the script is run on other peoples
setups.
thanks,
Tobin.
prev parent reply other threads:[~2018-02-02 20:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-31 2:42 [GIT PULL] leaking_addresses.pl changes for 4.16-rc1 Tobin C. Harding
2018-02-01 20:45 ` Tobin C. Harding
2018-02-01 22:43 ` Linus Torvalds
2018-02-02 9:48 ` Tobin C. Harding
2018-02-02 20:13 ` Tobin C. Harding [this message]
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=20180202201341.GI29988@eros \
--to=me@tobin.cc \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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.