[procps] Re: recent library change

  • From: Craig Small <csmall-procps@xxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Sun, 7 Apr 2013 08:29:30 +1000

On Tue, Apr 02, 2013 at 08:39:35AM -0400, Jaromir Capik wrote:
> For example for sizes from 5152 to 8192 the new code actually
Which don't exist yet.  Don't confuse a generic situation with a
specific one.

The specific situation we have is:
  1024 works for most people
  4096 works for everyone today
  sometime in the future 4096 might not be enough.

The size of these files may increase in the future. The realloc code
should have a best go at getting one of the sizes we know works and then
reallocating on the exceptions.

For all practical purposes, if we have a block of 1024 bytes in one
allocation, then its the same as previously.

 - Craig

-- 
Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
GPG fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

Other related posts: