Powered by Linux
I fixed the slow down using the database — Semantic Matching Tool

I fixed the slow down using the database

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

 



I don't know if anyone is using the datbase.  If you are running
into a painful slow down with it then you may want to upgrade.

Normally, I build the database every morning.  I use the old
database and build on top of that.  So every day the database adds
another branch to the call trees.

It turns out that for recursive calls it meant the database is
storing more and more garbage like "$$->parent->parent->parent->
parent->parent->foo = 4096-u64max".  I put an upper limit on the
recursion.

Also I just said that if there are more than 1000 states stored
for a function call then give up.

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