Powered by Linux
Re: Regression in Smatch — Semantic Matching Tool

Re: Regression in Smatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 12, 2014 at 03:57:34PM -0600, Larry Finger wrote:
> Dan,
> 
> As my version of Smatch did not show some of the warnings that you
> reported to me earlier, I did a git pull and ran into a regression
> that causes Smatch to run very slowly, and may have an infinite
> loop. I bisected the problem and got the following:
> 
> Commit		Execution time
> 2c45218		35 sec
> 3ef1e73 	4 min 43 sec
> d94be05		Not finished after 1 hour
> 
> Those are sequential commits. All of these were run on an otherwise
> unloaded system on the current code in drivers/staging/rtl8188eu/.
> The command used was
> 
> time make CHECK=~/smatch/smatch C=2 drivers/staging/rtl8188eu/
> 
> As you see, make used only a single CPU. None of the files needed to
> be compiled.
> 
> I will be happy to test any fixes. For the moment, I am sticking
> with commit 2c45218.

On my system there are 2 files which take 6 minutes to process, so 12
minutes total if you are building on 1 CPU.  Six minutes is sort of long
but it's endurable.  How much RAM do you have?  Perhaps you are
swapping, I can add a work around if we're running out of memory.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe smatch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux